Re: [PATCH 1/2] brw_mutex: big read-write mutex

From: Linus Torvalds
Date: Tue Oct 16 2012 - 15:57:11 EST

On Mon, Oct 15, 2012 at 12:10 PM, Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
> This patch adds the new sleeping lock, brw_mutex. Unlike rw_semaphore
> it allows multiple writers too, just "read" and "write" are mutually
> exclusive.

So those semantics just don't sound sane. It's also not what any kind
of normal "rw" lock ever does.

So can you explain why these particular insane semantics are useful,
and what for?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at