[lkml]   [2007]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Use tty_schedule in VT code.

    > On Tue, 17 Jul 2007, Paul Fulghum wrote:
    > >
    > > The scheduling is to move the processing out of interrupt context.
    > > The receive data is often extracted from the hardware
    > > at interrupt time and then queued for processing.
    > You misunderstand.
    > If the "delay" is zero, then why are you using "delayed" workqueues at
    > all?
    > A delay of zero tends to be pointless. It's not a delay at all, and you
    > could just use the regular NON-DELAYING workqueues.

    Because sometimes you do want the delay. In other parts of the tty
    code we do delay. What should be done is

    if (tty->low_latency)
    schedule_delayed_work(&tty->, 1);

    Is this acceptable to you?

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-07-17 21:55    [W:0.031 / U:15.568 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site