Repository navigation
Commit 20c2df8
committed
mm: Remove slab destructors from kmem_cache_create().
Slab destructors were no longer supported after Christoph's
c59def9 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>1 parent 64fb98f commit 20c2df8
165 files changed
Lines changed: 247 additions & 268 deletions
File tree
- arch
- arm26/mm
- arm/plat-s3c24xx
- i386/mm
- ia64/ia32
- powerpc
- kernel
- mm
- platforms/cell/spufs
- sh
- kernel/cpu/sh4
- mm
- sparc64/mm
- block
- drivers
- acpi
- block/aoe
- ieee1394
- infiniband
- core
- hw
- amso1100
- ehca
- ulp/iser
- kvm
- md
- message/i2o
- mtd/ubi
- s390
- block
- scsi
- scsi
- aic94xx
- libsas
- qla2xxx
- qla4xxx
- usb
- host
- mon
- fs
- adfs
- affs
- afs
- befs
- bfs
- cifs
- coda
- configfs
- dlm
- ecryptfs
- efs
- ext2
- ext3
- ext4
- fat
- freevxfs
- fuse
- gfs2
- hfsplus
- hfs
- hpfs
- hugetlbfs
- isofs
- jbd2
- jbd
- jffs2
- jfs
- minix
- ncpfs
- nfsd
- nfs
- ntfs
- ocfs2
- dlm
- openpromfs
- proc
- qnx4
- reiserfs
- romfs
- smbfs
- sysfs
- sysv
- udf
- ufs
- xfs/linux-2.6
- include/linux
- ipc
- kernel
- lib
- mm
- net
- bridge
- core
- dccp
- ccids/lib
- decnet
- ipv4
- ipvs
- ipv6
- netfilter
- rxrpc
- sctp
- sunrpc
- tipc
- xfrm
- security
- keys
- selinux
- ss
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1333 | 1333 | | |
1334 | 1334 | | |
1335 | 1335 | | |
1336 | | - | |
| 1336 | + | |
1337 | 1337 | | |
1338 | 1338 | | |
1339 | 1339 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
184 | 184 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
752 | 752 | | |
753 | 753 | | |
754 | 754 | | |
755 | | - | |
756 | | - | |
| 755 | + | |
757 | 756 | | |
758 | 757 | | |
759 | 758 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
| 256 | + | |
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
804 | 804 | | |
805 | 805 | | |
806 | 806 | | |
807 | | - | |
| 807 | + | |
808 | 808 | | |
809 | 809 | | |
810 | 810 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
542 | 542 | | |
543 | 543 | | |
544 | 544 | | |
545 | | - | |
| 545 | + | |
546 | 546 | | |
547 | 547 | | |
548 | 548 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
182 | | - | |
| 181 | + | |
183 | 182 | | |
184 | 183 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
654 | 654 | | |
655 | 655 | | |
656 | 656 | | |
657 | | - | |
| 657 | + | |
658 | 658 | | |
659 | 659 | | |
660 | 660 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | | - | |
375 | | - | |
| 374 | + | |
376 | 375 | | |
377 | 376 | | |
378 | 377 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
313 | | - | |
| 313 | + | |
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
| |||
0 commit comments