On Mon, 04 Feb 2013 10:46:38 +0900, Minchan Kim said: > Could you test this patch? > > From 81cae17c55ade897a7e06b01c864f1c250b40f8b Mon Sep 17 00:00:00 2001 > From: Minchan Kim <minc...@kernel.org> > Date: Mon, 4 Feb 2013 10:43:32 +0900 > Subject: [PATCH] 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 > > Cc: Shaohua Li <s...@kernel.org> > Reported-by: Valdis Kletnieks <valdis.kletni...@vt.edu> > Signed-off-by: Minchan Kim <minc...@kernel.org>
I applied this to a next-20130128, and lockdep doesn't complain about swapon(). Feel free to add a 'Tested-By:' to the patch and push it upstream...
pgpBEpZg_pp7R.pgp
Description: PGP signature