public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.3 _raw_write_trylock and __down_write_trylock
@ 2004-02-23  1:15 Keith Owens
  2004-02-23 19:53 ` David Mosberger
  0 siblings, 1 reply; 2+ messages in thread
From: Keith Owens @ 2004-02-23  1:15 UTC (permalink / raw)
  To: linux-ia64

2.6.3 defines include/asm-ia64/spinlock.h::_raw_write_trylock (both asm
and C versions) and include/asm-ia64/rwsem.h::__down_write_trylock.

The C version of _raw_write_trylock is functionally identical to
__down_write_trylock, but the code is completely different.  Why have
two implementations with such radically different code for the same
feature?  Why have both a C and asm version of _raw_write_trylock when
the C version will work everywhere?


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-02-23 19:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-23  1:15 2.6.3 _raw_write_trylock and __down_write_trylock Keith Owens
2004-02-23 19:53 ` David Mosberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox