Messages in this thread | | | Date | Sun, 16 Jan 2005 14:49:52 -0500 | From | Karim Yaghmour <> | Subject | Re: 2.6.11-rc1-mm1 |
| |
Christoph Hellwig wrote: > the lockless mode is really just loops around cmpxchg. It's spinlocks > reinvented poorly.
I beg to differ. You have to use different spinlocks depending on where you are: - serving user-space - bh-derivatives - irq
lockless is the same primitive regardless of your current state, it's not the same as spinlocks.
Karim -- Author, Speaker, Developer, Consultant Pushing Embedded and Real-Time Linux Systems Beyond the Limits http://www.opersys.com || karim@opersys.com || 1-866-677-4546 - 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/
| |