Re: [PATCH] SN2 user-MMIO CPU migration

From: Jes Sorensen <jes_at_sgi.com>
Date: 2006-01-24 20:14:28
Luck, Tony wrote:
> Thinking about this a bit more, wouldn't it be better to do this
> work in the rebalance code that is making the decision to move
> the process.  The earlier argument that this would sometimes
> waste time because the process might not actually move doesn't
> sound so strong ... we context switch frequently, we move processes
> rarely.  Doing some work that may be wasted in the rare path sounds
> better than always doing work in the common path.

Alternatively one could make platform_switch_from() a wrapper around
a function pointer that is only set when in use. Then it would be a
load and a compare and the rest will be predicated away on non SN
hardware in the generic kernel.

Cheers,
Jes
-
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:16:12 2006

This archive was generated by hypermail 2.1.8 : 2006-01-24 20:16:19 EST