From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Tue, 12 Apr 2005 13:31:35 -0400 From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] page fault with lock held In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: Topicbox-Message-UUID: 368acfb4-ead0-11e9-9d60-3106f5b1d025 > no, you should not be holding a spinlock when trying that. > why is your driver trying to copy directly to user space, > isn't it a subdevice of devsd? (i'm not saying that's the way > to do it, just curious). i'll say that's probably the way to do it. russ