Re: Userspace I/O driver core

From: Hans-Jürgen Koch
Date: Thu Dec 14 2006 - 06:37:40 EST


Am Donnerstag, 14. Dezember 2006 12:39 schrieb Alan:
> On Thu, 14 Dec 2006 12:22:16 +0100
> Thomas Gleixner <tglx@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/