Re: [PATCH V2 0/6][RFC] futex: FUTEX_LOCK with optional adaptivespinning
From: Peter Zijlstra
Date: Tue Apr 06 2010 - 05:01:03 EST
On Tue, 2010-04-06 at 00:15 +0300, Avi Kivity wrote:
> An interesting (but perhaps difficult to achieve) optimization would be
> to spin in userspace.
System call overhead isn't that large, but if you want to amortize that
you can do a very small spin in userspace and then take the syscall:
Complicating anything beyond that is just not worth it.
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/