Could you check if something sent you a signal?
if (signal_pending(current))
printk("Ring Ring\n");
would do the trick.
Kernel-threads (and general processes?) get woken up when a signal is delivered, and will
not go to sleep (for long anyway) until the signal is cleared.
Greetings,
Arjan van de Ven
-
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/