From owner-cvs-src-old@FreeBSD.ORG Wed Jun 8 08:12:40 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F36A106566B for ; Wed, 8 Jun 2011 08:12:40 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8B66E8FC16 for ; Wed, 8 Jun 2011 08:12:40 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p588CeXi035635 for ; Wed, 8 Jun 2011 08:12:40 GMT (envelope-from avg@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p588CeqT035634 for cvs-src-old@freebsd.org; Wed, 8 Jun 2011 08:12:40 GMT (envelope-from avg@repoman.freebsd.org) Message-Id: <201106080812.p588CeqT035634@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to avg@repoman.freebsd.org using -f From: Andriy Gapon Date: Wed, 8 Jun 2011 08:12:15 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src UPDATING src/sys/amd64/amd64 machdep.c mp_machdep.c src/sys/amd64/include smp.h src/sys/i386/i386 machdep.c mp_machdep.c src/sys/i386/include smp.h src/sys/pc98/pc98 machdep.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2011 08:12:40 -0000 avg 2011-06-08 08:12:15 UTC FreeBSD src repository Modified files: . UPDATING sys/amd64/amd64 machdep.c mp_machdep.c sys/amd64/include smp.h sys/i386/i386 machdep.c mp_machdep.c sys/i386/include smp.h sys/pc98/pc98 machdep.c Log: SVN rev 222853 on 2011-06-08 08:12:15Z by avg remove code for dynamic offlining/onlining of CPUs on x86 The code has definitely been broken for SCHED_ULE, which is a default scheduler. It may have been broken for SCHED_4BSD in more subtle ways, e.g. with manually configured CPU affinities and for interrupt devilery purposes. We still provide a way to disable individual CPUs or all hyperthreading "twin" CPUs before SMP startup. See the UPDATING entry for details. Interaction between building CPU topology and disabling CPUs still remains fuzzy: topology is first built using all availble CPUs and then the disabled CPUs should be "subtracted" from it. That doesn't work well if the resulting topology becomes non-uniform. This work is done in cooperation with Attilio Rao who in addition to reviewing also provided parts of code. PR: kern/145385 Discussed with: gcooper, ambrisko, mdf, sbruno Reviewed by: attilio Tested by: pho, pluknet X-MFC after: never Revision Changes Path 1.695 +17 -0 src/UPDATING 1.751 +4 -3 src/sys/amd64/amd64/machdep.c 1.344 +6 -165 src/sys/amd64/amd64/mp_machdep.c 1.102 +0 -1 src/sys/amd64/include/smp.h 1.733 +4 -3 src/sys/i386/i386/machdep.c 1.327 +6 -165 src/sys/i386/i386/mp_machdep.c 1.103 +0 -1 src/sys/i386/include/smp.h 1.447 +4 -3 src/sys/pc98/pc98/machdep.c