Matthew T. Kromer <matt@zope.com> wrote:
sean.upton@uniontrib.com wrote:
In comparing kernel source, it looks that, unlike the stock kernel, RedHat's 2.4.18-4 kernel source has a reworked kernel/sched.c that has set_cpus_allowed() call, which should, in theory, prevent migration of a task from a CPU. Has anyone tried this with Python?
I think this is a patch that has been around for a while to allow you to set the 32 bit CPU dispatch mask (one bit for each CPU in the system). It may or may not also be coupled with a /proc filesystem patch.
Robert M. Love does those patches, see http://www.tech9.net/rml/linux/ I guess we'll have to test them soon... Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com