[PATCH] hwspinlock/core: Add testing capabilities
Ido Yariv
ido at wizery.com
Sun Dec 30 09:27:10 EST 2012
Hi Steve,
On Sun, Dec 30, 2012 at 10:13:08PM +0800, steve.zhan wrote:
> Hi,
> Acked-by: Steve zhan zhanzhenbo at gmail.com
>
> "I'd rather not test the spinlocks after they are registering as they
> might already be in use by then."
>
> Why? I think user must use it after hwspin_lock_register have retured
> sucess.
Once the spinlocks are registered anyone can request and acquire these.
The tests could then interfere with any users of the hwspinlock layer,
or simply fail (because the spinlocks might already be acquired).
Thanks,
Ido.
More information about the linux-arm-kernel
mailing list