Re: [GIT PULL] core/mutexes changes for v3.11: W/W mutex support

From: Linus Torvalds
Date: Tue Jul 02 2013 - 20:54:36 EST


On Mon, Jul 1, 2013 at 1:22 AM, Ingo Molnar <mingo@xxxxxxxxxx> wrote:
>
> Please pull the latest core-mutexes-for-linus git tree from:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-mutexes-for-linus
>
> HEAD: 166989e366ffa66108b2f37b870e66b85b2185ad locking-selftests: Handle unexpected failures more strictly
>
> This tree adds support for wound/wait style locks, which the graphics guys
> would like to make use of in the TTM graphics subsystem.

So I pulled this, but I'm not particularly happy with how this (very
unusual) lock pollutes <linux/mutex.h> that pretty much every single
file ends up including.

So I'd really prefer to see the ww_mutex() support split up into
<linux/ww_mutex.h>, rather than making the compiler have to parse and
remember that stuff when 99.99% of all files do not care about it or
need it.

Hmm?

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