lkml.org 
[lkml]   [1999]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: kupdate & laptop's
    On Sat, 14 Aug 1999, Alan Cox wrote:

    >Ok then you need to play with interval via /proc. I'd figured signals
    >would work directly. Humm

    Yes, you need a:

    echo 40 500 64 256 0 >/proc/sys/vm/bdflush

    to disable kupdate. Then it will go to sleep.

    To reenable kupdate you need to:

    echo 40 500 64 256 500 >/proc/sys/vm/bdflush

    and _then_ send it a SIGCONT. (note on Alpha the second 500 has to be
    close to 5000 since HZ is 1024 there)

    That was intentional to make sure nobody is going to STOP kupdate by
    mistake. If you think it's better to allow kupdate to be stopped simply
    via a SIGSTOP I can change the code.

    Andrea


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:53    [W:0.020 / U:1.528 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site