[PATCH v3 05/15] ARM: mcpm_head.S: vlock-based first man election
Santosh Shilimkar
santosh.shilimkar at ti.com
Fri Feb 1 00:34:55 EST 2013
On Tuesday 29 January 2013 01:21 PM, Nicolas Pitre wrote:
> From: Dave Martin <dave.martin at linaro.org>
>
> 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 <dave.martin at linaro.org>
> Signed-off-by: Nicolas Pitre <nicolas.pitre at linaro.org>
> ---
Reviewed-by: Santosh Shilimkar<santosh.shilimkar at ti.com>
Regards,
Santosh
More information about the linux-arm-kernel
mailing list