Re: [PATCH] SN2 user-MMIO CPU migration

From: Luck, Tony <tony.luck_at_intel.com>
Date: 2006-01-25 08:51:12
On Tue, Jan 24, 2006 at 03:12:48PM -0600, Brent Casavant wrote:
> > But I'd also like to see how invasive a "task has migrated" bit in
> > thread_info.flags (as suggested elsewhere in this thread) gets to
> > be.
> 
> I'll be happy to do this if you really want.  That said, having stared
> at this code enough now, I don't believe it would be a better solution.

You are probably right.

> So, does this look better?

> +	.last_cpu	= 0,			\

How does .last_cpu get propagated to new processes, and what is
it initialized to?  Right now it looks like there is an odd
quirk that we'll call platform_switch_from() as each process starts
running for the first time [or is the whole thread_info structure
copied from the parent someplace that I didn't notice].

-Tony
-
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 Wed Jan 25 08:51:53 2006

This archive was generated by hypermail 2.1.8 : 2006-01-25 08:52:00 EST