Re: Preempting kernel tasks

David S. Miller (
Tue, 3 Sep 1996 12:02:36 -0400

From: Jason Burrell <>
Date: Tue, 3 Sep 1996 07:33:23 -0500 (CDT)

Forgive me for my ignorance, but how can a kernel task be preempted?

No, under linux a kernel thread of execution can only give up the cpu

(btw, kernel preemption IMHO is a sorry and dirty solution for the
problem that it claims to solve)

I would suggest putting your encryption daemon task in userland and
have it block on some sort of file (/dev/whatever) and it will process
the encryption as it wakes up due to data being available from that

David S. Miller