Messages in this thread | | | Subject | Re: spin_unlock optimization(i386) | Date | Thu, 25 Nov 1999 10:31:51 -0800 | From | Erich Boleyn <> |
| |
Linus Torvalds <torvalds@transmeta.com> wrote:
> ... I've > gotten sane explanations for why serialization (as opposed to just the > simple locked access) is required for the lock() side but not the unlock() > side, and that lack of symmetry was what bothered me the most.
As mentioned in one of my email messages, I don't think you even need any serialization for the lock. You should just need to make sure it is grabbed atomically, and the rest of the ordering constraints should get you what you want.
-- Erich Boleyn PMD Architecture <esboleyn@ichips.intel.com>
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |