Re: [PATCH] SN2 user-MMIO CPU migration

From: Brent Casavant <bcasavan_at_sgi.com>
Date: 2006-01-24 17:41:23
On Tue, 24 Jan 2006, Keith Owens wrote:

> 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.

It's actually quite clean.  See prepare_arch_switch() and
finish_arch_switch() as an example of how I'd pattern the code.
Those are done by #ifdef, but very clearly isolated.

Hmm, I might be able to utilize prepare_arch_switch() -- I'll have
to take a closer look when I get back into the office Tuesday.  I
sure hope that would work, as it would avoid the need for changes to
kernel/sched.c.

Brent

-- 
Brent Casavant                          All music is folk music.  I ain't
bcasavan@sgi.com                        never heard a horse sing a song.
Silicon Graphics, Inc.                    -- Louis Armstrong
-
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 17:42:09 2006

This archive was generated by hypermail 2.1.8 : 2006-01-24 17:42:18 EST