summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorVlastimil Babka (SUSE) <vbabka@kernel.org>2026-07-27 14:53:58 +0200
committerVlastimil Babka (SUSE) <vbabka@kernel.org>2026-07-31 15:50:47 +0200
commitb215520d41db22dcac6d10e2e2a757d3433802b6 (patch)
tree5a607d708f790d560ddc32654f3a736579796040 /scripts
parent215bb51fff467cdaa40d2df098a62ed2ae3e212d (diff)
downloadlinux-next-b215520d41db22dcac6d10e2e2a757d3433802b6.tar.gz
linux-next-b215520d41db22dcac6d10e2e2a757d3433802b6.zip
mm/slab: make slab_obj_ext() determine object index
All callers perform the same obj_to_index() calculation to pass the index. Simplify by passing object pointer instead and determining the index by slab_obj_ext(). Reviewed-by: Suren Baghdasaryan <surenb@google.com> Reviewed-by: Harry Yoo (Oracle) <harry@kernel.org> Reviewed-by: Hao Li <hao.li@linux.dev> Link: https://patch.msgid.link/20260727-b4-objext_split-v3-4-c29ef0f1f257@kernel.org Signed-off-by: Vlastimil Babka (SUSE) <vbabka@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions