lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56722258.6030800@huawei.com>
Date:	Thu, 17 Dec 2015 10:47:52 +0800
From:	Xishi Qiu <qiuxishi@...wei.com>
To:	"Izumi, Taku" <izumi.taku@...fujitsu.com>
CC:	"Luck, Tony" <tony.luck@...el.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"linux-mm@...ck.org" <linux-mm@...ck.org>,
	"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
	"Kamezawa, Hiroyuki" <kamezawa.hiroyu@...fujitsu.com>,
	"mel@....ul.ie" <mel@....ul.ie>,
	"Hansen, Dave" <dave.hansen@...el.com>,
	"matt@...eblueprint.co.uk" <matt@...eblueprint.co.uk>
Subject: Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option

On 2015/12/17 9:38, Izumi, Taku wrote:

> Dear Xishi,
> 
>  Sorry for late.
> 
>> -----Original Message-----
>> From: Xishi Qiu [mailto:qiuxishi@...wei.com]
>> Sent: Friday, December 11, 2015 6:44 PM
>> To: Izumi, Taku/泉 拓
>> Cc: Luck, Tony; linux-kernel@...r.kernel.org; linux-mm@...ck.org; akpm@...ux-foundation.org; Kamezawa, Hiroyuki/亀澤 寛
>> 之; mel@....ul.ie; Hansen, Dave; matt@...eblueprint.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.

Thanks,
Xishi Qiu

>> I mean when zone_movable is from kernelcore=mirror, not kernelcore=nn[KMG].
> 
>   I'm not quite sure what you are saying, but if you want to screen user memory
>   so that one is allocated from mirrored zone and another is from non-mirrored zone,
>   I think it is possible to reuse my patchset.
> 
>   Sincerely,
>   Taku Izumi
> 
>> Thanks,
>> Xishi Qiu
>>
>>>   Sincerely,
>>>   Taku Izumi
>>>>
>>>> It seems something like that we add a new zone but the name is zone_movable,
>>>> not zone_mirror. And the prerequisite is that we won't enable these two
>>>> features(movable memory and mirrored memory) at the same time. Thus we can
>>>> reuse the code of movable zone.
>>>>
>>>
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>>> the body of a message to majordomo@...r.kernel.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>> Please read the FAQ at  http://www.tux.org/lkml/
>>>
>>> .
>>>
>>
>>
> 
> 
> .
> 



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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ