RE: [PATCH] SN2 user-MMIO CPU migration

From: Chen, Kenneth W <>
Date: 2006-01-25 09:19:15
Brent Casavant wrote on Tuesday, January 24, 2006 2:12 PM
> > On the other hand, it may not be too bad because on kernel exit, flags
> > field in thread_info is accessed for TIF_* and if kernel exit path is
> > taken back-to-back with context switch, the net effect maybe small.
> Actually, IA64_HAS_EXTRA_STATE() reads the TIF_* flags, and is called
> in __switch_to(), which is in very close proximity to checking last_cpu.


IA64_HAS_EXTRA_STATE() uses task->thread.flags, not task->thread_info->flags.
These two flags are in two different places.

- Ken

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Wed Jan 25 09:19:53 2006

This archive was generated by hypermail 2.1.8 : 2006-01-25 09:20:00 EST