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: <CAJDx_rhi_-ovE8AyxeC317y9vCV2NGEs1ffAcN2rWP2P7qA-xA@mail.gmail.com>
Date: Mon, 5 May 2025 17:28:02 -0700
From: Juan Yescas <jyescas@...gle.com>
To: Matthew Wilcox <willy@...radead.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org, 
	linux-kernel@...r.kernel.org, tjmercier@...gle.com, isaacmanjarres@...gle.com, 
	surenb@...gle.com, kaleshsingh@...gle.com, Vlastimil Babka <vbabka@...e.cz>, 
	"Liam R. Howlett" <Liam.Howlett@...cle.com>, Lorenzo Stoakes <lorenzo.stoakes@...cle.com>, 
	David Hildenbrand <david@...hat.com>, Mike Rapoport <rppt@...nel.org>, Zi Yan <ziy@...dia.com>, 
	Minchan Kim <minchan@...nel.org>
Subject: Re: [PATCH v2] mm: Add ARCH_FORCE_PAGE_BLOCK_ORDER to select page
 block order

On Mon, May 5, 2025 at 12:55 PM Matthew Wilcox <willy@...radead.org> wrote:
>
> On Mon, May 05, 2025 at 11:56:21AM -0700, Juan Yescas wrote:
> > Solution: Add a new config ARCH_FORCE_PAGE_BLOCK_ORDER that
> > allows to set the page block order in all the architectures.
>
> ... but it's no longer per-ARCH, so this should not be in the ARCH_
> namespace.
>

Good point. The changes are in [PATCH v3] mm: Add
CONFIG_PAGE_BLOCK_ORDER to select page block order

> >  /* If huge pages are not used, group by MAX_ORDER_NR_PAGES */
> > -#define pageblock_order              MAX_PAGE_ORDER
> > +#define pageblock_order              PAGE_BLOCK_ORDER
>
> You need to update the comment too.
>

Done.

Thanks
Juan

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ