From af7e9be5cce9a2ceb819f00b3f58014d23ab57cd Mon Sep 17 00:00:00 2001 From: luoqi Date: Wed, 28 Apr 1999 01:04:33 +0000 Subject: Enable vmspace sharing on SMP. Major changes are, - %fs register is added to trapframe and saved/restored upon kernel entry/exit. - Per-cpu pages are no longer mapped at the same virtual address. - Each cpu now has a separate gdt selector table. A new segment selector is added to point to per-cpu pages, per-cpu global variables are now accessed through this new selector (%fs). The selectors in gdt table are rearranged for cache line optimization. - fask_vfork is now on as default for both UP and SMP. - Some aio code cleanup. Reviewed by: Alan Cox John Dyson Julian Elischer Bruce Evans David Greenman --- sys/i386/linux/linux_locore.s | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/i386/linux/linux_locore.s') diff --git a/sys/i386/linux/linux_locore.s b/sys/i386/linux/linux_locore.s index 1440218..b458c94 100644 --- a/sys/i386/linux/linux_locore.s +++ b/sys/i386/linux/linux_locore.s @@ -6,9 +6,7 @@ NON_GPROF_ENTRY(linux_sigcode) call LINUX_SIGF_HANDLER(%esp) leal LINUX_SIGF_SC(%esp),%ebx /* linux scp */ - movl LINUX_SC_FS(%ebx),%ecx movl LINUX_SC_GS(%ebx),%edx - movl %cx,%fs movl %dx,%gs push %eax /* fake ret addr */ movl $LINUX_SYS_linux_sigreturn,%eax /* linux_sigreturn() */ -- cgit v1.1