Thread (45 messages) read the whole thread 45 messages, 6 authors, 2025-09-24

Re: [PATCH slab v5 2/6] mm: Allow GFP_ACCOUNT to be used in alloc_pages_nolock().

From: Harry Yoo <hidden>
Date: 2025-09-15 05:25:49
Also in: bpf

On Mon, Sep 08, 2025 at 06:00:03PM -0700, Alexei Starovoitov wrote:
From: Alexei Starovoitov <ast@kernel.org>

Change alloc_pages_nolock() to default to __GFP_COMP when allocating
pages, since upcoming reentrant alloc_slab_page() needs __GFP_COMP.
Also allow __GFP_ACCOUNT flag to be specified,
since most of BPF infra needs __GFP_ACCOUNT except BPF streams.

Reviewed-by: Vlastimil Babka <redacted>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
---
Looks good to me,
Reviewed-by: Harry Yoo <redacted>

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