lkml.org 
[lkml]   [2007]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: kernel processes - are they really needed?
    Date
    On Wednesday 31 October 2007 13:33, Andi Kleen wrote:
    > "Dmitry Torokhov" <dmitry.torokhov@gmail.com> writes:
    >
    > > On 10/24/07, Andi Kleen <andi@firstfloor.org> wrote:
    > >>
    > >> My favourite for a ridiculous thread was and is "kpsmoused"
    > >>
    > >
    > > Mouse querying can take significant amount of time. Do you really want
    > > all your other events to be delayed just because kernel tries to get
    > > mouse back in order?
    >
    > How long?

    If a mouse is stubborn and does not want to get enabled it may sleep
    up to 1 sec.

    >
    >
    > >
    > > Although I probably want to kill it if mouse resync is disabled...
    >
    > How often does that happen? Can't you just start a thread for this
    > as needed? Or if it's a simple algorithm you can just use a state machine
    > using timers?
    >

    The IRQ handler is already too complex, I'd rather not mess with a state
    machine. I will see how to kill the thread if resync is disabled.

    --
    Dmitry
    -
    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/

    \
     
     \ /
      Last update: 2007-11-02 02:55    [W:0.025 / U:0.108 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site