lkml.org 
[lkml]   [1997]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: patch-2.0.30, lp.c - bad patch
Date
> Yes and No ... maybe the statement should be extended:
>
> if(!intr_count && need_resched)
> schedule();
>
> to avoid such critical problems with such foreign drivers.

Erm. Be careful, this trick doesnt always work as you intend. In this case
I think it will, but if you are a hard real time process schedule() wont
ever give up the CPU



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