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
![]() |