lkml.org 
[lkml]   [1999]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: spin_unlock optimization(i386)
Date
From

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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.154 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site