Messages in this thread Patch in this message | | | Date | Fri, 13 Mar 1998 18:33:55 +0100 (CET) | From | MOLNAR Ingo <> | Subject | [patch] x86, small syscall entry speedup, 2.1.90 |
| |
this patch speeds up syscall entry and page faults by 1 cycle on a pentium ;) It's tested.
-- mingo
--- linux/arch/i386/kernel/entry.S.orig Thu Mar 19 06:39:59 1998 +++ linux/arch/i386/kernel/entry.S Thu Mar 19 06:40:35 1998 @@ -91,8 +91,8 @@ pushl %ecx; \ pushl %ebx; \ movl $(__KERNEL_DS),%edx; \ - mov %dx,%ds; \ - mov %dx,%es; + movb %dx,%ds; \ + movb %dx,%es; #define RESTORE_ALL \ popl %ebx; \ @@ -250,8 +250,8 @@ pushl %eax # push the error code pushl %edx movl $(__KERNEL_DS),%edx - mov %dx,%ds - mov %dx,%es + movb %dx,%ds + movb %dx,%es GET_CURRENT(%ebx) call *%ecx addl $8,%esp
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |