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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47603579-4d42-4617-8386-6656341c8d56@gmail.com>
Date: Thu, 15 May 2025 15:56:18 +0100
From: Usama Arif <usamaarif642@...il.com>
To: David Hildenbrand <david@...hat.com>,
 Lorenzo Stoakes <lorenzo.stoakes@...cle.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
 hannes@...xchg.org, shakeel.butt@...ux.dev, riel@...riel.com,
 ziy@...dia.com, laoar.shao@...il.com, baolin.wang@...ux.alibaba.com,
 Liam.Howlett@...cle.com, npache@...hat.com, ryan.roberts@....com,
 linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org, kernel-team@...a.com
Subject: Re: [PATCH 1/6] prctl: introduce PR_THP_POLICY_DEFAULT_HUGE for the
 process



On 15/05/2025 15:44, David Hildenbrand wrote:
> On 15.05.25 16:40, Lorenzo Stoakes wrote:
>> Overall I feel this series should _DEFINITELY_ be an RFC. This is pretty
>> outlandish stuff and needs discussion.
>>
>> You're basically making it so /sys/kernel/mm/transparent_hugepage/enabled =
>> never is completely ignored and overridden.
> 
> I thought I made it very clear during earlier discussions that never means never.
> 

Yes never means never, this is only implementing your suggestion in the original series.
If the policy is set to never, hugepage_global_always and hugepage_global_enabled will
evaluate to false and we wont get a hugepage.


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ