Thread (19 messages) 19 messages, 8 authors, 2024-06-02

Re: [PATCH RFC 4/4] mm, page_alloc: add static key for should_fail_alloc_page()

From: Roman Gushchin <roman.gushchin@linux.dev>
Date: 2024-05-31 23:50:18
Also in: bpf, linux-mm, lkml

On Fri, May 31, 2024 at 11:33:35AM +0200, Vlastimil Babka wrote:
Similarly to should_failslab(), remove the overhead of calling the
noinline function should_fail_alloc_page() with a static key that guards
the allocation hotpath callsite and is controlled by the fault and error
injection frameworks.

Signed-off-by: Vlastimil Babka <redacted>
Reviewed-by: Roman Gushchin <roman.gushchin@linux.dev>

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