Re: About a change to the implementation of spin lock in 2.6.12kernel.

From: Brandon Niemczyk
Date: Thu Jul 14 2005 - 11:28:40 EST


On Thu, 2005-07-14 at 09:21 -0700, multisyncfe991@xxxxxxxxxxx wrote:
> Hi Willy,
>
> I think at least I can remove the LOCK instruction when the lock is already
> held by someone else and enter the spinning wait directly, right?
If the lock is already held by someone else, the cpu is just going to
burn cycles until it's not. So why do you care?

--
Brandon Niemczyk

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/