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: <58D52B78.9040303@cs.rutgers.edu>
Date:   Fri, 24 Mar 2017 09:21:44 -0500
From:   Zi Yan <zi.yan@...rutgers.edu>
To:     "Kirill A. Shutemov" <kirill@...temov.name>
CC:     Zi Yan <zi.yan@...t.com>, <linux-kernel@...r.kernel.org>,
        <linux-mm@...ck.org>, <kirill.shutemov@...ux.intel.com>,
        <akpm@...ux-foundation.org>, <minchan@...nel.org>,
        <vbabka@...e.cz>, <mgorman@...hsingularity.net>,
        <mhocko@...nel.org>, <n-horiguchi@...jp.nec.com>,
        <khandual@...ux.vnet.ibm.com>, <dnellans@...dia.com>
Subject: Re: [PATCH v4 04/11] mm: thp: introduce CONFIG_ARCH_ENABLE_THP_MIGRATION



Kirill A. Shutemov wrote:
> On Mon, Mar 13, 2017 at 11:45:00AM -0400, Zi Yan wrote:
>> From: Naoya Horiguchi <n-horiguchi@...jp.nec.com>
>>
>> Introduces CONFIG_ARCH_ENABLE_THP_MIGRATION to limit thp migration
>> functionality to x86_64, which should be safer at the first step.
>>
>> Signed-off-by: Naoya Horiguchi <n-horiguchi@...jp.nec.com>
>> ---
>> v1 -> v2:
>> - fixed config name in subject and patch description
>> ---
>>  arch/x86/Kconfig        |  4 ++++
>>  include/linux/huge_mm.h | 10 ++++++++++
>>  mm/Kconfig              |  3 +++
>>  3 files changed, 17 insertions(+)
>>
>> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
>> index 69188841717a..a24bc11c7aed 100644
>> --- a/arch/x86/Kconfig
>> +++ b/arch/x86/Kconfig
>> @@ -2276,6 +2276,10 @@ config ARCH_ENABLE_HUGEPAGE_MIGRATION
>>  	def_bool y
>>  	depends on X86_64 && HUGETLB_PAGE && MIGRATION
>>  
>> +config ARCH_ENABLE_THP_MIGRATION
>> +	def_bool y
>> +	depends on X86_64 && TRANSPARENT_HUGEPAGE && MIGRATION
>> +
> 
> TRANSPARENT_HUGEPAGE implies MIGRATION due to COMPACTION.
> 

Sure. I will change it to:

+config ARCH_ENABLE_THP_MIGRATION
+	def_bool y
+	depends on X86_64 && TRANSPARENT_HUGEPAGE
+


Thanks.

-- 
Best Regards,
Yan Zi


Download attachment "signature.asc" of type "application/pgp-signature" (538 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ