mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 13:41:30 +00:00
mm: Remove slab destructors from kmem_cache_create().
Slab destructors were no longer supported after Christoph's
c59def9f22
change. They've been
BUGs for both slab and slub, and slob never supported them
either.
This rips out support for the dtor pointer from kmem_cache_create()
completely and fixes up every single callsite in the kernel (there were
about 224, not including the slab allocator definitions themselves,
or the documentation references).
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
64fb98fc40
commit
20c2df83d2
165 changed files with 247 additions and 268 deletions
|
@ -1801,7 +1801,7 @@ void __init mnt_init(unsigned long mempages)
|
|||
init_rwsem(&namespace_sem);
|
||||
|
||||
mnt_cache = kmem_cache_create("mnt_cache", sizeof(struct vfsmount),
|
||||
0, SLAB_HWCACHE_ALIGN | SLAB_PANIC, NULL, NULL);
|
||||
0, SLAB_HWCACHE_ALIGN | SLAB_PANIC, NULL);
|
||||
|
||||
mount_hashtable = (struct list_head *)__get_free_page(GFP_ATOMIC);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue