lkml.org 
[lkml]   [2000]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: scheduler ignores need_resched flag in 2.2.x and 2.3.x?
willy@thepuffingroup.com wrote:
> Better would be to turn it into a per-architecture function. On PA-RISC,
> we can set a bit in the CPU to make it trap on transitions to userspace
> and having a set_resched() function which just sets the need_resched
> flag on x86 but sets the L bit on PA-RISC would mean that we could avoid
> checking the flag. Maybe this is a 2.5 thing though.

That is a nice feature. It eliminates some fiddly races.

-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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