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] [day] [month] [year] [list]
Message-ID: <20250804183121.2892827-1-jyescas@google.com>
Date: Mon,  4 Aug 2025 11:31:21 -0700
From: Juan Yescas <jyescas@...gle.com>
To: david@...hat.com
Cc: akash.tyagi@...iatek.com, akpm@...ux-foundation.org, 
	angelogioacchino.delregno@...labora.com, hannes@...xchg.org, 
	jackmanb@...gle.com, linux-arm-kernel@...ts.infradead.org, 
	linux-kernel@...r.kernel.org, linux-mediatek@...ts.infradead.org, 
	linux-mm@...ck.org, matthias.bgg@...il.com, mhocko@...e.com, 
	surenb@...gle.com, jyescas@...gle.com, kaleshsingh@...gle.com, 
	tjmercier@...gle.com, isaacmanjarres@...gle.com, vbabka@...e.cz, 
	wsd_upstream@...iatek.com, ziy@...dia.com
Subject: [RFC PATCH] mm/page_alloc: Add PCP list for THP CMA

Hi David/Zi,

Is there any reason why the MIGRATE_CMA pages are not in the PCP lists?

There are many devices that need fast allocation of MIGRATE_CMA pages,
and they have to get them from the buddy allocator, which is a bit
slower in comparison to the PCP lists.

We also have cases where the MIGRATE_CMA memory requirements are big.
For example, GPUs need MIGRATE_CMA memory in the ranges of 30MiB to 500MiBs.
These cases would benefit if we have THPs for CMAs.

Could we add the support for MIGRATE_CMA pages on the PCP and THP lists?

Thanks




Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ