Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932638AbWLNLhU (ORCPT ); Thu, 14 Dec 2006 06:37:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932642AbWLNLhU (ORCPT ); Thu, 14 Dec 2006 06:37:20 -0500 Received: from www.osadl.org ([213.239.205.134]:48218 "EHLO mail.tglx.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932638AbWLNLhT (ORCPT ); Thu, 14 Dec 2006 06:37:19 -0500 From: =?iso-8859-1?q?Hans-J=FCrgen_Koch?= To: Alan Subject: Re: Userspace I/O driver core Date: Thu, 14 Dec 2006 12:37:16 +0100 User-Agent: KMail/1.9.5 Cc: tglx@linutronix.de, Greg KH , linux-kernel@vger.kernel.org References: <20061214010608.GA13229@kroah.com> <1166095336.29505.97.camel@localhost.localdomain> <20061214113933.07140f0a@localhost.localdomain> In-Reply-To: <20061214113933.07140f0a@localhost.localdomain> Organization: Linutronix MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612141237.16535.hjk@linutronix.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 825 Lines: 23 Am Donnerstag, 14. Dezember 2006 12:39 schrieb Alan: > On Thu, 14 Dec 2006 12:22:16 +0100 > Thomas Gleixner wrote: > > > On Thu, 2006-12-14 at 10:52 +0000, Alan wrote: > > > Might be kind of hairy given uio_read() doesn't even return from the > > > kernel. > > > > We probably talk about different code here, right ? The one, I'm looking > > at returns on each interrupt event. > > The patch Greg posted up has no return inside the while loop. > There are three breaks in that while loop, the first makes it return as soon as an interrupt occurs. Hans - 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/