Semphore -> mutex in the device tree

From: Alan Stern
Date: Thu Apr 17 2008 - 11:22:20 EST


Peter:

The obstacle to converting the semaphore in struct device to a mutex
has been that its tree-oriented usage pattern isn't compatible with
lockdep.

In order to get around this and at least begin the conversion process,
how about adding a provision for making some classes of mutex invisible
to lockdep? I know it doesn't solve the fundamental problem, but maybe
it's a step in the right direction.

Alan Stern

--
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/