On Wed, 9 Dec 2015 12:19:37 +0900 Taku Izumi wrote:
> This patch extends existing "kernelcore" option and
> introduces kernelcore=mirror option. By specifying
> "mirror" instead of specifying the amount of memory,
> non-mirrored (non-reliable) region will be arranged
> into ZONE_MOVABLE.
>
> v1
On Wed, 9 Dec 2015 12:19:37 +0900 Taku Izumi wrote:
> This patch extends existing "kernelcore" option and
> introduces kernelcore=mirror option. By specifying
> "mirror" instead of specifying the amount of memory,
> non-mirrored (non-reliable) region will be arranged
> into ZONE_MOVABLE.
>
> v1
>Hmm...like this ?
> sysctl.vm.fallback_mirror_memory = 0 // never fallback # default.
> sysctl.vm.fallback_mirror_memory = 1 // the user memory may be
> allocated from mirrored zone.
> sysctl.vm.fallback_mirror_memory = 2 // usually kernel allocates
> memory from mirrored z
On 2015/12/18 3:43, Luck, Tony wrote:
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".
Size of mirrored memory can
>>> 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".
>
> Size of mirrored memory can be configured by
..@kvack.org;
>>>>> a...@linux-foundation.org; Kamezawa, Hiroyuki/亀澤 寛
>>>>> 之; m...@csn.ul.ie; Hansen, Dave; m...@codeblueprint.co.uk
>>>>> Subject: Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option
>>>>>
>>>&
shi Qiu [mailto:qiuxi...@huawei.com]
>>>> Sent: Friday, December 11, 2015 6:44 PM
>>>> To: Izumi, Taku/泉 拓
>>>> Cc: Luck, Tony; linux-kernel@vger.kernel.org; linux...@kvack.org;
>>>> a...@linux-foundation.org; Kamezawa, Hiroyuki/亀澤 寛
>>>
vger.kernel.org; linux...@kvack.org;
>> a...@linux-foundation.org; Kamezawa, Hiroyuki/亀澤 寛
>> 之; m...@csn.ul.ie; Hansen, Dave; m...@codeblueprint.co.uk
>> Subject: Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option
>>
>> On 2015/12/11 13:53, Izumi, Taku wrote:
&g
6:44 PM
>>> To: Izumi, Taku/泉 拓
>>> Cc: Luck, Tony; linux-kernel@vger.kernel.org; linux...@kvack.org;
>>> a...@linux-foundation.org; Kamezawa, Hiroyuki/亀澤 寛
>>> 之; m...@csn.ul.ie; Hansen, Dave; m...@codeblueprint.co.uk
>>> Subject: Re: [PATCH v3 2/2] mm:
Hiroyuki/亀澤 寛
> 之; m...@csn.ul.ie; Hansen, Dave; m...@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
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?"
> m
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 creat
On 2015/12/10 13:37, Izumi, Taku wrote:
> Dear Tony, Xishi,
>
How about add some comment, if mirrored memroy is too small, then the
normal zone is small, so it may be oom.
The mirrored memory is at least 1/64 of whole memory, because struct
pages usually take 64 bytes per page
Dear Tony, Xishi,
> >> How about add some comment, if mirrored memroy is too small, then the
> >> normal zone is small, so it may be oom.
> >> The mirrored memory is at least 1/64 of whole memory, because struct
> >> pages usually take 64 bytes per page.
> >
> > 1/64th is the absolute lower bound
On 2015/12/10 5:59, Luck, Tony wrote:
>> How about add some comment, if mirrored memroy is too small, then the
>> normal zone is small, so it may be oom.
>> The mirrored memory is at least 1/64 of whole memory, because struct
>> pages usually take 64 bytes per page.
>
> 1/64th is the absolute low
> How about add some comment, if mirrored memroy is too small, then the
> normal zone is small, so it may be oom.
> The mirrored memory is at least 1/64 of whole memory, because struct
> pages usually take 64 bytes per page.
1/64th is the absolute lower bound (for the page structures as you say).
On 2015/12/9 11:19, Taku Izumi wrote:
> This patch extends existing "kernelcore" option and
> introduces kernelcore=mirror option. By specifying
> "mirror" instead of specifying the amount of memory,
> non-mirrored (non-reliable) region will be arranged
> into ZONE_MOVABLE.
>
> v1 -> v2:
> - Ref
This patch extends existing "kernelcore" option and
introduces kernelcore=mirror option. By specifying
"mirror" instead of specifying the amount of memory,
non-mirrored (non-reliable) region will be arranged
into ZONE_MOVABLE.
v1 -> v2:
- Refine so that the following case also can be
handled p
18 matches
Mail list logo