From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: (no subject) Date: Wed, 16 Jul 2003 13:40:51 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <20030715185511.19935.h007.c012.wm@mail.icqmail.com.criticalpath.net> Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <20030715185511.19935.h007.c012.wm@mail.icqmail.com.criticalpath.net> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Eliot Blennerhassett Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Tue, 15 Jul 2003 18:55:10 -0700 (PDT), Eliot Blennerhassett wrote: > > Question: > Notwithstanding bad style etc, am I doing something that is fundamentally wrong > in using a userspace buffer when I am inside a spinlock i.e. in interrupt > context? (In the same way as I must not use a semaphore in interrupt context) yes. you cannot copy_from/to_user() in the atomic situation. Takashi ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0