Re: [PATCH] SN2 user-MMIO CPU migration

From: Grant Grundler <>
Date: 2006-01-24 14:41:23
On Mon, Jan 23, 2006 at 06:33:39PM -0600, Brent Casavant wrote:
> However, when MMIO writes can be performed from user space (e.g. DRM)
> there are no such guarantees and mechanisms, as the process may
> context-switch at any time, and may migrate to a different CPU as part
> of the switch.  For such programs/hardware to operate correctly, it is
> required that the MMIO writes from the old CPU be accepted by the IO
> hardware before subsequent writes from the new CPU can be issued.

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

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

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Tue Jan 24 14:41:52 2006

This archive was generated by hypermail 2.1.8 : 2006-01-24 14:41:59 EST