The patch titled slub: don't confuse ctor and dtor has been added to the -mm tree. Its filename is slub-dont-confuse-ctor-and-dtor.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: slub: don't confuse ctor and dtor From: Hugh Dickins <hugh@xxxxxxxxxxx> kmem_cache_create() was swapping ctor and dtor in calling find_mergeable(): though it caused no bug, and probably never would, even if destructors are retained; but fix it so as not to generate anxiety ;) Signed-off-by: Hugh Dickins <hugh@xxxxxxxxxxx> Cc: Christoph Lameter <clameter@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/slub.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN mm/slub.c~slub-dont-confuse-ctor-and-dtor mm/slub.c --- a/mm/slub.c~slub-dont-confuse-ctor-and-dtor +++ a/mm/slub.c @@ -2522,7 +2522,7 @@ struct kmem_cache *kmem_cache_create(con struct kmem_cache *s; down_write(&slub_lock); - s = find_mergeable(size, align, flags, dtor, ctor); + s = find_mergeable(size, align, flags, ctor, dtor); if (s) { s->refcount++; /* _ Patches currently in -mm which might be from hugh@xxxxxxxxxxx are slub-dont-confuse-ctor-and-dtor.patch scsi-fix-config_scsi_wait_scan=m.patch i386-dont-check_pgt_cache-in-flush_tlb_mm.patch lazy-freeing-of-memory-through-madv_free.patch restore-madv_dontneed-to-its-original-linux-behaviour.patch mm-more-rmap-checking.patch mm-more-rmap-checking-tidy.patch add-__gfp_movable-for-callers-to-flag-allocations-from-high-memory-that-may-be-migrated.patch ext2-reservations.patch ext2-balloc-use-io_error-label.patch add-__gfp_movable-for-callers-to-flag-allocations-from-high-memory-that-may-be-migrated-swap-prefetch.patch prio-tree-debugging.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html