lkml.org 
[lkml]   [1996]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectSleeping on the job
Date
From

I need to do some delays in kernel code.
- each delay is under 3ms (max delay time is not critical)
- interrupts are enabled
- it could be several seconds before the kernel code returns to user space
As I understand it, this could be a problem(?) as it stays in the
kernel for so long.

What is the best way to handle this (do I need to worry about it)?
Currently I'm just ignoring the fact that the delays can be long; it
doesn't cause me any trouble, but I'm on a single user/CPU system.

Any ideas appreciated. Note: I'm by no means a kernel guru, so be gentle.

--
Andrew E. Mileski
mailto:aem@ott.hookup.net http://www.redhat.com/~aem/
Linux Plug-and-Play Project http://www.redhat.com/pnp/


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