lkml.org 
[lkml]   [2013]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: next-20130128 lockdep whinge in sys_swapon()
From
Date
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 <minchan@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 <shli@kernel.org>
> Reported-by: Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
> Signed-off-by: Minchan Kim <minchan@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...

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2013-02-05 17:44    [W:0.047 / U:9.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site