Kenerl Entry/Exit optimization patch for your bk tree
Quoted 8 lines · Rohit
Please find attached the Kernel entry/exit patch against your latest 2.4.20-bk tree. This is derived from (now settled) 2.5 kernel patch that David has in his tree. One major change from 2.5 is that
ia64_execvestill has the same old hack to support IA-32 apps (that is currently broken on 2.5).This patch also has the support for 16-bytes instructions that are mentioned in SDM2.1
I applied this patch to the 2.4 tree, with the following edit:
arch/ia64/kernel/entry.h Wed Jul 30 16:51:44 2003 +1 -1
@@ -14,7 +14,7 @@ #define SW(f) (IA64_SWITCH_STACK_##f##_OFFSET) #define PT_REGS_SAVES(off) \ - .unwabi @svr4, 'i'; \ + .unwabi 3, 'i'; \ .fframe IA64_PT_REGS_SIZE+16+(off); \ .spillsp rp, PT(CR_IIP)+16+(off); \ .spillsp ar.pfs, PT(CR_IFS)+16+(off); \