The patch titled Subject: mm: Get rid of lockdep whinge on sys_swapon has been removed from the -mm tree. Its filename was swap-add-per-partition-lock-for-swapfile-fix-fix-fix-fix-fix.patch This patch was dropped because it was folded into swap-add-per-partition-lock-for-swapfile.patch ------------------------------------------------------ From: Minchan Kim <minchan@xxxxxxxxxx> Subject: mm: Get rid of lockdep whinge on sys_swapon [1] forgot to initialize spin_lock so lockdep is whingeing about it. This patch fixes it. [1] 0f181e0e4, swap: add per-partition lock for swapfile Signed-off-by: Minchan Kim <minchan@xxxxxxxxxx> Reported-by: Valdis Kletnieks <Valdis.Kletnieks@xxxxxx> Tested-by: Valdis Kletnieks <Valdis.Kletnieks@xxxxxx> Cc: Shaohua Li <shli@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/swapfile.c | 1 + 1 file changed, 1 insertion(+) diff -puN mm/swapfile.c~swap-add-per-partition-lock-for-swapfile-fix-fix-fix-fix-fix mm/swapfile.c --- a/mm/swapfile.c~swap-add-per-partition-lock-for-swapfile-fix-fix-fix-fix-fix +++ a/mm/swapfile.c @@ -1856,6 +1856,7 @@ static struct swap_info_struct *alloc_sw p->flags = SWP_USED; p->next = -1; spin_unlock(&swap_lock); + spin_lock_init(&p->lock); return p; } _ Patches currently in -mm which might be from minchan@xxxxxxxxxx are origin.patch mm-compaction-make-__compact_pgdat-and-compact_pgdat-return-void.patch mm-use-zone-present_pages-instead-of-zone-managed_pages-where-appropriate.patch mm-set-zone-present_pages-to-number-of-existing-pages-in-the-zone.patch mm-increase-totalram_pages-when-free-pages-allocated-by-bootmem-allocator.patch mm-remove-migrate_isolate-check-in-hotpath.patch mm-teach-mm-by-current-context-info-to-not-do-i-o-during-memory-allocation.patch pm-runtime-introduce-pm_runtime_set_memalloc_noio.patch block-genhdc-apply-pm_runtime_set_memalloc_noio-on-block-devices.patch net-core-apply-pm_runtime_set_memalloc_noio-on-network-devices.patch pm-runtime-force-memory-allocation-with-no-i-o-during-runtime-pm-callbcack.patch usb-forbid-memory-allocation-with-i-o-during-bus-reset.patch swap-make-each-swap-partition-have-one-address_space.patch swap-add-per-partition-lock-for-swapfile.patch mm-use-up-free-swap-space-before-reaching-oom-kill.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