Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1293609

Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option

From Xishi Qiu <qiuxishi@huawei.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option
Date 2015-12-17 06:00 +0100
Message-ID <qGyPv-32a-5@gated-at.bofh.it> (permalink)
References (7 earlier) <qEoUi-8oZ-15@gated-at.bofh.it> <qEsuR-2qB-9@gated-at.bofh.it> <qGvHY-16n-3@gated-at.bofh.it> <qGwXo-1Nl-9@gated-at.bofh.it> <qGwXo-1Nl-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2015/12/17 10:53, Kamezawa Hiroyuki wrote:

> On 2015/12/17 11:47, Xishi Qiu wrote:
>> On 2015/12/17 9:38, Izumi, Taku wrote:
>>
>>> Dear Xishi,
>>>
>>>   Sorry for late.
>>>
>>>> -----Original Message-----
>>>> From: Xishi Qiu [mailto:qiuxishi@huawei.com]
>>>> Sent: Friday, December 11, 2015 6:44 PM
>>>> To: Izumi, Taku/泉 拓
>>>> Cc: Luck, Tony; linux-kernel@vger.kernel.org; linux-mm@kvack.org; akpm@linux-foundation.org; Kamezawa, Hiroyuki/亀澤 寛
>>>> 之; mel@csn.ul.ie; Hansen, Dave; matt@codeblueprint.co.uk
>>>> Subject: Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option
>>>>
>>>> On 2015/12/11 13:53, Izumi, Taku wrote:
>>>>
>>>>> Dear Xishi,
>>>>>
>>>>>> Hi Taku,
>>>>>>
>>>>>> Whether it is possible that we rewrite the fallback function in buddy system
>>>>>> when zone_movable and mirrored_kernelcore are both enabled?
>>>>>
>>>>>    What does "when zone_movable and mirrored_kernelcore are both enabled?" mean ?
>>>>>
>>>>>    My patchset just provides a new way to create ZONE_MOVABLE.
>>>>>
>>>>
>>>> Hi Taku,
>>>>
>>
>> Hi Taku,
>>
>> We can NOT specify kernelcore= "nn[KMG]" and "mirror" at the same time.
>> So when we use "mirror", in fact, the movable zone is a new zone. I think it is
>> more appropriate with this name "mirrored zone", and also we can rewrite the
>> fallback function in buddy system in this case.
> 
> kernelcore ="mirrored zone" ?

No, it's zone_names[MAX_NR_ZONES]
How about "Movable", -> "Non-mirrored"?

> 
> BTW, let me confirm.
> 
>   ZONE_NORMAL = mirrored
>   ZONE_MOVABLE = not mirrored.
> 

Yes, 

> so, the new zone is "not-mirrored" zone.
> 
> Now, fallback function is
> 
>    movable -> normal -> DMA.
> 
> As Tony requested, we may need a knob to stop a fallback in "movable->normal", later.
> 

If the mirrored memory is small and the other is large,
I think we can both enable "non-mirrored -> normal" and "normal -> non-mirrored".

Thanks,
Xishi Qiu

> Thanks,
> -Kame
> 
> 
> 
> 
> 
> 
> 
> .
> 



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

RE: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option "Izumi, Taku" <izumi.taku@jp.fujitsu.com> - 2015-12-17 02:40 +0100
  Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option Xishi Qiu <qiuxishi@huawei.com> - 2015-12-17 04:00 +0100
    Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> - 2015-12-17 04:00 +0100
      Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option Xishi Qiu <qiuxishi@huawei.com> - 2015-12-17 06:00 +0100
        Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> - 2015-12-17 06:10 +0100
          RE: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option "Luck, Tony" <tony.luck@intel.com> - 2015-12-17 19:50 +0100
            Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> - 2015-12-18 03:20 +0100
              RE: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option "Luck, Tony" <tony.luck@intel.com> - 2015-12-18 08:00 +0100

csiph-web