On 07/10/2012 03:31 PM, Raghavendra K T wrote:
From: Raghavendra K T<raghavendra...@linux.vnet.ibm.com>

Currently PLE handler can repeatedly do a directed yield to same vcpu
that has recently done PL exit. This can degrade the performance.

Try to yield to most eligible guy instead by alternate yielding.
Precisely, give chance to a VCPU which has:
  (a) Not done PLE exit at all (probably he is preempted lock-holder)
  (b) VCPU skipped in last iteration because it did PL exit, and probably
  has become eligible now (next eligible lock holder)

Signed-off-by: Raghavendra K T<raghavendra...@linux.vnet.ibm.com>

Reviewed-by: Rik van Riel <r...@redhat.com>

--
All rights reversed
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to