]> bbs.cooldavid.org Git - net-next-2.6.git/commit
[IA64] Re-implement spinaphores using ticket lock concepts
authorTony Luck <tony.luck@intel.com>
Fri, 9 Oct 2009 17:52:39 +0000 (10:52 -0700)
committerTony Luck <tony.luck@intel.com>
Fri, 9 Oct 2009 17:52:39 +0000 (10:52 -0700)
commit883a3acf5b0d4782ac35981227a0d094e8b44850
treea5ad44c09e36298749f0b37dbd5695bad040620c
parent36a07902c2134649c4af7f07980413ffb1a56085
[IA64] Re-implement spinaphores using ticket lock concepts

Bound the wait time for the ptcg_sem by using similar idea to the
ticket spin locks.  In this case we have only one instance of a
spinaphore, so make it 8 bytes rather than try to squeeze it into
4-bytes to keep the code simpler (and shorter).

Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/mm/tlb.c