Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 25 Oct 2001 03:58:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 25 Oct 2001 03:58:39 -0400 Received: from smtp-rt-2.wanadoo.fr ([193.252.19.154]:3233 "EHLO apeiba.wanadoo.fr") by vger.kernel.org with ESMTP id ; Thu, 25 Oct 2001 03:58:24 -0400 From: Benjamin Herrenschmidt To: Alan Cox , Subject: Re: [RFC] New Driver Model for 2.5 Date: Thu, 25 Oct 2001 09:58:32 +0200 Message-Id: <20011025075832.27776@smtp.wanadoo.fr> In-Reply-To: In-Reply-To: X-Mailer: CTM PowerMail 3.0.8 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org >> I really don't think it's _that_ difficult to properly do this blocking. >> For things like sound drivers, a simple semaphore is plenty enough. For > >Sound is more easily handled by not blocking user space but waiting until >the final IRQ off moment and grabbing the registers. That avoids a lot >of ugly locking gunge. It literally comes down to My point about using a semaphore was to avoid getting mixer ioctls banging the HW while it is shut down. Ben. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/