Re: [PATCH 4/4, v2] x86: enlightenment for ticket spin locks -improve yield behavior on Xen

From: Peter Zijlstra
Date: Wed Jun 30 2010 - 04:11:42 EST


On Tue, 2010-06-29 at 15:35 +0100, Jan Beulich wrote:
>
> The (only) additional overhead this introduces for native execution is
> the writing of the owning CPU in the lock acquire paths.

Uhm, and growing the size of spinlock_t to 6 (or 8 bytes when aligned)
bytes when NR_CPUS>256.
--
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/