Thread (74 messages) 74 messages, 16 authors, 2009-09-01

Re: RFC: THE OFFLINE SCHEDULER

From: Chris Friesen <hidden>
Date: 2009-08-27 23:53:07
Also in: lkml

Possibly related (same subject, not in this thread)

On 08/27/2009 03:09 PM, Thomas Gleixner wrote:
That's just the wrong approach. All you need is a way to tell the
kernel that CPUx can switch off the scheduler tick when only one
thread is running and that very thread is running in user space. Once
another thread arrives on that CPU or the single thread enters the
kernel for a blocking syscall the scheduler tick has to be
restarted.
That's an elegant approach...I like it.

How would you deal with per-cpu kernel threads (softirqs, etc.) or
softirq processing while in the kernel?  Switching off the timer tick
isn't sufficient because the scheduler will be triggered on the way back
to userspace in a syscall.

Chris
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help