From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 6 Feb 2010 11:12:08 -0500 From: Venkatesh Srinivas To: 9fans@9fans.net Message-ID: <20100206161207.GA31545@centaur.acm.jhu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: [9fans] kenfs question? Topicbox-Message-UUID: ce7977b2-ead5-11e9-9d60-3106f5b1d025 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