9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] kenfs question?
@ 2010-02-06 16:12 Venkatesh Srinivas
  2010-02-06 16:16 ` erik quanstrom
  2010-02-07  0:12 ` Russ Cox
  0 siblings, 2 replies; 9+ messages in thread
From: Venkatesh Srinivas @ 2010-02-06 16:12 UTC (permalink / raw)
  To: 9fans

Hi,

I was looking at the sources to kenfs and saw something that confused me -

ilock() (pc/lock.c) calls splhi() and then calls lock(). If that lock were contended,
how would the system not stop? And on a UP system, if you're inside an splhi() block,
why would you need to take an uncontended lock?

Thanks,
-- vs



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

end of thread, other threads:[~2010-02-11 14:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-06 16:12 [9fans] kenfs question? Venkatesh Srinivas
2010-02-06 16:16 ` erik quanstrom
2010-02-11 13:31   ` Venkatesh Srinivas
2010-02-11 14:55     ` erik quanstrom
2010-02-07  0:12 ` Russ Cox
2010-02-07  3:02   ` Venkatesh Srinivas
2010-02-07  4:44     ` erik quanstrom
2010-02-07 10:42       ` Charles Forsyth
2010-02-07 12:19         ` Venkatesh Srinivas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).