Thread (63 messages) 63 messages, 6 authors, 2023-11-21

Re: [PATCH RFC 06/37] mm: page_alloc: Allocate from movable pcp lists only if ALLOC_FROM_METADATA

From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2023-10-17 10:26:45
Also in: kvmarm, linux-arch, linux-arm-kernel, linux-fsdevel, linux-mm, lkml

On Mon, Oct 16, 2023 at 01:41:15PM +0100, Alexandru Elisei wrote:
On Thu, Oct 12, 2023 at 10:25:11AM +0900, Hyesoo Yu wrote:
quoted
I don't think it would be effcient when the majority of movable pages
do not use GFP_TAGGED.

Metadata pages have a low probability of being in the pcp list
because metadata pages is bypassed when freeing pages.

The allocation performance of most movable pages is likely to decrease
if only the request with ALLOC_FROM_METADATA could be allocated.
You're right, I hadn't considered that.
quoted
How about not including metadata pages in the pcp list at all ?
Sounds reasonable, I will keep it in mind for the next iteration of the
series.
BTW, I suggest for the next iteration we drop MIGRATE_METADATA, only use
CMA and assume that the tag storage itself supports tagging. Hopefully
it makes the patches a bit simpler.

-- 
Catalin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help