[lkml]   [1999]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: kupdate & laptop's
    > kupdated honours SIGSTOP/SIGCONT so you can control it on a mobile system
    Thanks for your quick reply.

    OK, I tried to stop it with 'kill -STOP', but it didn't. So I've added
    some printk() to fs/buffer.c to verify this (see below). It never
    goes in the 'else' block, and I don't get the 'kupdate() stopped'
    message. To make sure I tried all signals (1..29) but no luck. So
    something else must be wrong.

    Cheers, Peter.

    int kupdate(void * unused)
    for (;;) {
    interval = bdf_prm.b_un.interval;
    if (interval)
    printk("kupdate() interval %d\n", interval);
    tsk->state = TASK_INTERRUPTIBLE;
    printk("kupdate() returned from schedule_timeout\n");
    tsk->state = TASK_STOPPED;
    printk("kupdate() stopped\n");
    schedule(); /* wait for SIGCONT */
    printk("kupdate() activated...\n");

    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.019 / U:14.568 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site