Re: [PATCH 25/27]r-o-bind-mounts-track-number-of-mount-writers-make-lockdep-happy-with-r-o-bind-mounts

From: Andrew Morton
Date: Mon Nov 05 2007 - 18:37:20 EST


On Thu, 01 Nov 2007 16:09:00 -0700
Dave Hansen <haveblue@xxxxxxxxxx> wrote:

> With the r/o bind mount patches, we can have as many
> spinlocks nested as there are CPUs on the system.
> Lockdep freaks out after 8.
>
> So, create a new lockdep class of locks for the
> mnt_writer spinlocks, and initialize each of the
> cpu locks to be in a different class.
>
> It should shut up warnings like this, while still
> allowing some of the lockdep goodness to remain:
>
> =============================================
> [ INFO: possible recursive locking detected ]
> 2.6.23-rc6 #6
>

I added your signed-off-by: to this.

I wish you hadn't mucked up all those Subject:s
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/