![]() |
Subject: Re: [PATCH] spinlock: __raw_spin_is_locked() should return true for UP Newsgroups: gmane.linux.ports.ppc64.devel Date: Tuesday 18th August 2009 23:20:43 UTC (over 8 years ago) On Tue, 18 Aug 2009, Kumar Gala wrote: > > For some reason __raw_spin_is_locked() has been returning false for the > uni-processor, non-CONFIG_DEBUG_SPINLOCK. The UP + CONFIG_DEBUG_SPINLOCK > handles this correctly. > > Found this by enabling CONFIG_DEBUG_VM on PPC and hitting always hitting > a BUG_ON that was testing to make sure the pte_lock was held. > > Signed-off-by: Kumar Gala |
||