Re: [PATCH] SN2 user-MMIO CPU migration

From: Brent Casavant <bcasavan_at_sgi.com>
Date: 2006-01-24 17:30:42
On Mon, 23 Jan 2006, Grant Grundler wrote:

> Would an app first need to mmap an uncached address?
> Or some other obvious "marker" that might warn the kernel?

I'm not sure an uncached address would be appropriate, as I
believe there are other non-IO uncached mappings which can
be performed (whatever the fetchop stuff morphed into, for
example -- I can't remember what its called now).

The only obvious marker I can thing of would be a flag in the
mm struct set by a device driver when such a mapping occurs.
All relevant device drivers would need to be updated, and we'd
need to handle partial unmappings, shared mappings and the like.

> I'm wondering if one could check some easily reachable state
> (or flag) before calling platform_switch_from() and thus
> mitigate Tony's concern.

I can't think of any obviously correct state/flag to inspect,
short of the other suggestion I made tonight.

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:31:52 2006

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