Re: [PATCH] SN2 user-MMIO CPU migration

From: Ingo Molnar <mingo_at_elte.hu>
Date: 2006-01-24 20:02:35
* Brent Casavant <bcasavan@sgi.com> wrote:

> I agree with him that it's not wonderful to hook into mainline 
> scheduler code to solve this, but the alternative is what I presented 
> here: check if old CPU == new CPU at each context switch-in, entirely 
> within IA64 code.

what's the problem with doing that? It's a single comparison [of two 
values we already have accessed in that function!] and a rarely taken 
branch in a single subarch of a single arch's switch_to() function. If 
this use (of migration related arch functionality) becomes more 
widespread then we can generalize it, but right now i just dont see the 
point, given that the two solutions are almost totally equivalent in 
terms of "overhead".

	Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Jan 24 20:02:41 2006

This archive was generated by hypermail 2.1.8 : 2006-01-24 20:02:56 EST