Re: Subject: [RFC MM] mmap_sem scaling: Use mutex and percpucounter instead

From: Andi Kleen
Date: Fri Nov 06 2009 - 12:44:46 EST

On Fri, Nov 06, 2009 at 12:08:54PM -0500, Christoph Lameter wrote:
> On Fri, 6 Nov 2009, Andi Kleen wrote:
> > Yes but all the major calls still take mmap_sem, which is not ranged.
> But exactly that issue is addressed by this patch!

Major calls = mmap, brk, etc.

Only for page faults, not for anything that takes it for write.

Anyways the better reader lock is a step in the right direction, but
I have my doubts it's a good idea to make write really slow here.

ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
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