Re: [PATCH] SN2 user-MMIO CPU migration

Keith Owens
2006-01-24T01:42:54Z

Brent Casavant (on Mon, 23 Jan 2006 19:23:50 -0600 (CST)) wrote:
>An even better solution might be to have a hook in the main scheduler
>which sets a "task has migrated" flag in the IA64 thread_info.flags and
>add that flag to the IA64_HAS_EXTRA_STATE() macro. ia64_load_extra()
>and a machvec can then do the heavy lifting.

The problem with setting arch specific flags in mailine code is the
need to use #ifdef or to define dummy funcions for all architectures.
Apart from that, the idea works for me. You can pinch the
TIF_SIGDELAYED bit, which I just removed.