Re: [PATCH] use unfair spinlock when running on hypervisor.

From: H. Peter Anvin
Date: Wed Jun 02 2010 - 03:40:50 EST


On 06/01/2010 10:39 AM, Valdis.Kletnieks@xxxxxx wrote:
On Tue, 01 Jun 2010 19:52:28 +0300, Avi Kivity said:
On 06/01/2010 07:38 PM, Andi Kleen wrote:
Your new code would starve again, right?
Try it on a NUMA system with unfair memory.

We are running everything on NUMA (since all modern machines are now
NUMA). At what scale do the issues become observable?

My 6-month-old laptop is NUMA? Comes as a surprise to me, and to the
perfectly-running NUMA=n kernel I'm running.

Or did you mean a less broad phrase than "all modern machines"?


All modern multisocket machines, unless configured in interleaved memory mode.

-hpa

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