[lkml]   [1999]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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.


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

 \ /
  Last update: 2005-03-22 13:53    [W:0.049 / U:2.904 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site