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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux