On Wed, Jul 16, 2025 at 7:50 PM Alexei Starovoitov <alexei.starovoitov@xxxxxxxxx> wrote: > > > > +#ifndef CONFIG_SLUB_TINY > > > + if (!in_nmi() || !local_lock_is_locked(&s->cpu_slab->lock)) > > > +#endif > > > + ret = __slab_alloc_node(s, alloc_gfp, node, _RET_IP_, size); > > > > Nit: use IS_DEFINED(CONFIG_SLUB_TINY) to make this look better? > > ok. Will take it back. That doesn't work since s->cpu_slab doesn't exist with SLUB_TINY. So I kept the ifdef. Addressed the rest of comments and will send v4 soon.