RE: [Patch] Don't alloc empty frame in ia64_switch_mode_phys

From: Chen, Kenneth W <>
Date: 2006-07-27 01:33:35
Zou Nan hai wrote on Tuesday, July 25, 2006 4:37 PM
> I think ia64_switch_mode_phys and ia64_switch_mode_virt 
> does not need to alloc an empty frame. 
> An empty frame is required by loadrs but flushrs 
> does not need that.

This patch would make your previous "Do not assume output registers
be reservered" unnecessary, isn't it?  It will automatically solve
the problem you are trying to fix in previous patch.

The real issue to me is that ia64_switch_mode_phys() creates a zero
stack frame before turning off interrupt.  If the zero frame alloc
instruction is removed, the current register stack frame ought to be
safe because they should be preserved by the interrupt return path.

- 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 Thu Jul 27 01:34:20 2006

This archive was generated by hypermail 2.1.8 : 2006-07-27 01:34:32 EST