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] [day] [month] [year] [list]
Message-ID: <51997572-3575-4fad-9636-cca5178c561a@kuka.com>
Date: Tue, 6 May 2025 14:26:09 +0200
From: Ignacio Moreno Gonzalez <Ignacio.MorenoGonzalez@...a.com>
To: Lorenzo Stoakes <lorenzo.stoakes@...cle.com>
Cc: Ignacio.MorenoGonzalez@...a.com, Liam.Howlett@...cle.com,
 akpm@...ux-foundation.org, linux-kernel@...r.kernel.org, linux-mm@...ck.org,
 willy@...radead.org, yang@...amperecomputing.com
Subject: Re: [PATCH] mm: mmap: map MAP_STACK to VM_NOHUGEPAGE only if THP is
 enabled

Hi all,

Thanks for your comments and sorry for the late reply.

On 5/3/2025 11:50 AM, Lorenzo Stoakes wrote:
> In which case, Ignacio - could you apply both Matthew's change and address
> the nit below and send a v2?
> 
> Thanks!
> 
> [0]: https://lore.kernel.org/linux-mm/aBTCtOXBhUK_FLU6@casper.infradead.org/

Sure! I will separate the changes into two patches, since the first one will include the 'Fixes' tag (as discussed here). I also think it is a good approach to keep the patches separated since they address different issues:

- The mman.h (calc_vm_flag_bits) patch addresses mapping MAP_STACK to VM_NOHUGEPAGE on !THP kernels.
- The huge_mm.h (madvice) patch addresses the issue that VM_NOHUGEPAGE should be a no-op on !THP kernels.

Regards,
Ignacio

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ