Re: RFC: THE OFFLINE SCHEDULER

Christoph Lameter
2009-08-27T17:04:37Z

On Thu, 27 Aug 2009, Chris Friesen wrote:

> I just went and read the docs. One of the things I noticed is that it
> says that the offlined cpu cannot run userspace tasks. For our
> situation that's a showstopper, unfortunately.

It needs to be implemented the right way. Essentially this is a variation
on the isolcpu kernel boot option. We probably need some syscall to move
a user space process to a bare metal cpu since the cpu cannot be
considered online in the regular sense.

An isolated cpu can then only execute one process at a time. A process
would do all initialization and lock itsresources in memory before going
to the isolated processor. Any attempt to use OS facilities need to cause
the process to be moved back to a cpu with OS services.