Subject: [PATCH v3 05/15] ARM: mcpm_head.S: vlock-based first man election

From: [email-masked] (Santosh Shilimkar)
Date: Fri, 1 Feb 2013 11:04:55 +0530

On Tuesday 29 January 2013 01:21 PM, Nicolas Pitre wrote:
> From: Dave Martin <[email-masked]>
>
> Instead of requiring the first man to be elected in advance (which
> can be suboptimal in some situations), this patch uses a per-
> cluster mutex to co-ordinate selection of the first man.
>
> This should also make it more feasible to reuse this code path for
> asynchronous cluster resume (as in CPUidle scenarios).
>
> We must ensure that the vlock data doesn't share a cacheline with
> anything else, or dirty cache eviction could corrupt it.
>
> Signed-off-by: Dave Martin <[email-masked]>
> Signed-off-by: Nicolas Pitre <[email-masked]>
> ---
Reviewed-by: Santosh Shilimkar<[email-masked]>

Regards,
Santosh