aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorVlastimil Babka <vbabka@suse.cz>2023-10-03 15:27:11 +0200
committerVlastimil Babka <vbabka@suse.cz>2023-12-06 11:57:21 +0100
commitb774d3e326d30fc8ef841101c399e44bdac2aa48 (patch)
tree4b8af66490308105e4609eba7f242029017a63b5 /scripts/gdb/linux/tasks.py
parentb52ef56e9b324b172053b03d8c775ef4708fbc23 (diff)
downloadlinux-b774d3e326d30fc8ef841101c399e44bdac2aa48.tar.gz
linux-b774d3e326d30fc8ef841101c399e44bdac2aa48.tar.bz2
linux-b774d3e326d30fc8ef841101c399e44bdac2aa48.zip
mm/slab: move kfree() from slab_common.c to slub.c
This should result in better code. Currently kfree() makes a function call between compilation units to __kmem_cache_free() which does its own virt_to_slab(), throwing away the struct slab pointer we already had in kfree(). Now it can be reused. Additionally kfree() can now inline the whole SLUB freeing fastpath. Also move over free_large_kmalloc() as the only callsites are now in slub.c, and make it static. Reviewed-by: Kees Cook <keescook@chromium.org> Acked-by: David Rientjes <rientjes@google.com> Tested-by: David Rientjes <rientjes@google.com> Reviewed-by: Hyeonggon Yoo <42.hyeyoo@gmail.com> Tested-by: Hyeonggon Yoo <42.hyeyoo@gmail.com> Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions