Messages in this thread | | | Date | Sun, 30 Dec 2012 16:27:10 +0200 | From | Ido Yariv <> | Subject | Re: [PATCH] hwspinlock/core: Add testing capabilities |
| |
Hi Steve,
On Sun, Dec 30, 2012 at 10:13:08PM +0800, steve.zhan wrote: > Hi, > Acked-by: Steve zhan zhanzhenbo@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. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |