summaryrefslogtreecommitdiff
path: root/include/uapi/linux/misc
diff options
context:
space:
mode:
authorHarry Yoo <harry.yoo@oracle.com>2026-02-10 13:46:42 +0900
committerVlastimil Babka <vbabka@suse.cz>2026-02-10 11:39:30 +0100
commit27125df9a5d3b4cfd03bce3a8ec405a368cc9aae (patch)
tree37556c6aa3e13d879d7edc1bfb5d62e4b173fc82 /include/uapi/linux/misc
parentc4d6d7829817f762dfdce829ffd0c14ea3bad7fe (diff)
mm/slab: drop the OBJEXTS_NOSPIN_ALLOC flag from enum objext_flags
OBJEXTS_NOSPIN_ALLOC was used to remember whether a slabobj_ext vector was allocated via kmalloc_nolock(), so that free_slab_obj_exts() could call kfree_nolock() instead of kfree(). Now that kfree() supports freeing kmalloc_nolock() objects, this flag is no longer needed. Instead, pass the allow_spin parameter down to free_slab_obj_exts() to determine whether kfree_nolock() or kfree() should be called in the free path, and free one bit in enum objext_flags. Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Harry Yoo <harry.yoo@oracle.com> Reviewed-by: Hao Li <hao.li@linux.dev> Link: https://patch.msgid.link/20260210044642.139482-3-harry.yoo@oracle.com Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'include/uapi/linux/misc')
0 files changed, 0 insertions, 0 deletions