[lkml]   [1996]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Preempting kernel tasks
   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

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