lkml.org 
[lkml]   [1996]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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

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