Messages in this thread |  | | Date | Tue, 3 Sep 1996 12:02:36 -0400 | From | "David S. Miller" <> | Subject | Re: Preempting kernel tasks |
| |
From: Jason Burrell <jburrell@crl.com> 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 explicitly.
(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 "file".
Later, David S. Miller davem@caip.rutgers.edu
|  |