From owner-cvs-all@FreeBSD.ORG Fri Aug 15 09:08:57 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF1C4106566B; Fri, 15 Aug 2008 09:08:57 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 58B2D8FC0A; Fri, 15 Aug 2008 09:08:57 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.2/8.14.2) with ESMTP id m7F98vtu054327; Fri, 15 Aug 2008 09:08:57 GMT (envelope-from kib@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m7F98vk3054326; Fri, 15 Aug 2008 09:08:57 GMT (envelope-from kib@repoman.freebsd.org) Message-Id: <200808150908.m7F98vk3054326@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kib@repoman.freebsd.org using -f From: Konstantin Belousov Date: Fri, 15 Aug 2008 09:08:35 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/amd64/amd64 cpu_switch.S genassym.c src/sys/amd64/ia32 ia32_signal.c src/sys/amd64/include pcb.h src/sys/amd64/linux32 linux32_machdep.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2008 09:08:57 -0000 kib 2008-08-15 09:08:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/amd64/amd64 cpu_switch.S genassym.c sys/amd64/ia32 ia32_signal.c sys/amd64/include pcb.h sys/amd64/linux32 linux32_machdep.c Log: SVN rev 181752 on 2008-08-15 09:08:35Z by kib MFC r177535 by peter: (Micro)optimization of cpu_switch for amd64. Because r173004 (pure kernel threads) is not MFCed to stable/7, I use P_KTHREAD flag from curthread->td_proc->p_flag instead of TDP_KTHREAD flag from curthread->td_pflags to test whether the fs/gs bases need to be restored [1]. No objections for MFC from: peter Suggested by: jhb [1] MFC r180992: Bring back the save/restore of the %ds, %es, %fs and %gs registers for the 32bit images on amd64. The end result is almost complete syncronization of the amd64/amd64/cpu_switch.S between head and stable/7, besides TDP_KTHREAD difference. Revision Changes Path 1.160.2.1 +132 -80 src/sys/amd64/amd64/cpu_switch.S 1.165.2.1 +4 -0 src/sys/amd64/amd64/genassym.c 1.15.2.2 +1 -1 src/sys/amd64/ia32/ia32_signal.c 1.63.2.1 +1 -0 src/sys/amd64/include/pcb.h 1.45.2.2 +1 -1 src/sys/amd64/linux32/linux32_machdep.c