Re: [PATCH RESEND] x86: Avoid contention on cpa_lock if possible

From: Ido Yariv
Date: Sat Jun 02 2012 - 14:57:27 EST


On Fri, Apr 20, 2012 at 01:11:32AM +0300, Ido Yariv wrote:
> From: Shai Fultheim <shai@xxxxxxxxxxx>
>
> Some architectures (e.g. vSMP) do not require to serialize cpa, for
> instance, by guaranteeing that the most recent TLB entry will always be
> used.
>
> To avoid needless contention on cpa_lock, do not lock/unlock it on such
> architectures.
>
> Signed-off-by: Shai Fultheim <shai@xxxxxxxxxxx>
> [ido@xxxxxxxxxx: added should_serialize_cpa, handled potential race, and
> reworded the commit message]
> Signed-off-by: Ido Yariv <ido@xxxxxxxxxx>
> ---

Ping?

Thanks,
Ido.
--
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/