On Sat, Nov 16, 2024 at 01:41:41PM -0800, Alexei Starovoitov wrote: > > The maze of ifdef-s beat me :( > > It doesn't increment in PREEMPT_RCU. > > Need an additional check then. hmm. > > Like: > if (preemptible() && !rcu_preempt_depth()) > return alloc_pages_node_noprof(nid, GFP_NOWAIT | __GFP_ZERO, 0); > > Not pretty, but should do. Yeah, I suppose that should work. Thanks!