[Top] [All Lists]

Re: [PATCH][MIPS] fix user_cpus_allowed assignment

To: "Kevin D. Kissell" <>
Subject: Re: [PATCH][MIPS] fix user_cpus_allowed assignment
From: Ralf Baechle <>
Date: Fri, 21 Dec 2007 02:11:22 +0100
Cc: Pavel Kiryukhin <>,
In-reply-to: <017c01c840cb$7a5049c0$10eca8c0@grendel>
Original-recipient: rfc822;
References: <> <017c01c840cb$7a5049c0$10eca8c0@grendel>
User-agent: Mutt/1.5.17 (2007-11-01)
On Mon, Dec 17, 2007 at 05:40:03PM +0100, Kevin D. Kissell wrote:

> This looks to be a correct fix.  Long term, we really do need to convince
> the scheduler maintainer to provide hooks that will allow hardware-driven
> affinity to be integrated with application-driven affinity in a sensible way,
> without requiring replication (and replicated maintenence) of the system
> call code in private copies like this.  I asked for such hooks in sched.c
> when it first became apparent that dynamic FPU affinity was desirable,
> but was blown off at that time, so, with regret, I perpetrated the local copy
> hack.  But it's silly, and MIPS can't possibly be the only architecture where 
> Linux is used in systems with assymmetric resources where adaptive affinity 
> is useful.

I dare to speculate that the new job of a certain Mike Uhler may increase
the need for such a scheduler feature :-)


<Prev in Thread] Current Thread [Next in Thread>