Re: [PATCH try #3] Input/Joystick Driver: add support AD7142 joystick driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/16/07, Bryan Wu <[email protected]> wrote:
> On 10/16/07, Dmitry Torokhov <[email protected]> wrote:
> > On 10/15/07, Bryan Wu <[email protected]> wrote:
> > > On 10/15/07, Dmitry Torokhov <[email protected]> wrote:
> > > >
> > > > Completion is just not a good abstraction here... Please use work
> > > > abstraction and possibly a separate workqueue.
> > >
> > > Yes, I agree with you now, although I have a little concern about the
> > > possibility of big delay introduced by workqueue.
> > >
> >
> > Having a separate workqueue should isolate the driver from users
> > hogging keventd. Otherwise the speed should be pretty much the same as
> > with a kthread.
> >
>
> Does this driver need the create a new kthread instead of keventd?
> I think keventd might be sufficient for this driver.
>

No it does not have to start a new workqueue. I'd start with keventd
and only implement a separate workqueue later if I saw the driver
being starved by other keventd users.

-- 
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux