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

From: Ido Yariv
Date: Sat May 05 2012 - 19:49:07 EST


On Fri, Apr 20, 2012 at 1:11 AM, Ido Yariv <ido@xxxxxxxxxx> 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?
--
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/