From owner-cvs-src@FreeBSD.ORG Thu Sep 28 07:32:30 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38FF816A47C; Thu, 28 Sep 2006 07:32:30 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42CC343D4C; Thu, 28 Sep 2006 07:32:28 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D3A9.dip.t-dialin.net [84.165.211.169]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k8S77R7K079332; Thu, 28 Sep 2006 09:07:27 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (webmail.Leidinger.net [192.168.1.102]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k8S7WLIp097680; Thu, 28 Sep 2006 09:32:21 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from psbru.cec.eu.int (psbru.cec.eu.int [158.169.131.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Thu, 28 Sep 2006 09:31:50 +0200 Message-ID: <20060928093150.1k8m1mtu8808ocok@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Thu, 28 Sep 2006 09:31:50 +0200 From: Alexander Leidinger To: Robert Watson References: <200609261608.k8QG8TYB044266@repoman.freebsd.org> <200609271117.25831.jhb@freebsd.org> <451A9E1E.30601@samsco.org> <200609271338.22284.jhb@freebsd.org> <20060927230635.D73166@fledge.watson.org> In-Reply-To: <20060927230635.D73166@fledge.watson.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) / FreeBSD-7.0 X-Virus-Scanned: by amavisd-new Cc: Maxim Sobolev , Scott Long , src-committers@freebsd.org, John Baldwin , cvs-src@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/i386/i386 local_apic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Sep 2006 07:32:30 -0000 Quoting Robert Watson (from Wed, 27 Sep 2006 =20 23:08:32 +0100 (BST)): > > On Wed, 27 Sep 2006, John Baldwin wrote: >> My point is that we need a notion of taking CPUs offline and online =20 >> with scheudler hooks, instead of exporting a simple x86-specific =20 >> bitmask. Right now we don't notify the schedulers when a CPU goes =20 >> offline so that they can try to do sensible things with pinned and =20 >> bound threads, etc. Instead, they just have to "notice" which is =20 >> rediculously lame. > > It's pretty clear that if we're going to take the hypervisor + dynamic > reconfiguration thing seriously, we need a structured notion of adding > and removing CPUs from the active CPU pool, including things like event > handlers so that subsystems can shut down operations on the CPU. For > example, UMA needs a chance to drain per-CPU caches of various zones, > services that have pinned threads on the CPU will need to decide how to > deal with that, etc. It's work I'd very much like to see happen, and > until it's done we basically need to make sure that CPUs either exist > from boot and never cease existing, or don't exist at boot and are > never used. Anyone out there who can write up a nice entry for the ideas list for =20 this? Some TODO items in it would be nice. Bye, Alexander. --=20 Sometimes it happens. People just explode. Natural causes. =09=09-- Repo Man http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137