From owner-p4-projects@FreeBSD.ORG Wed Oct 27 17:47:52 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id CE6B716A4D0; Wed, 27 Oct 2004 17:47:51 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EADF16A4CE for ; Wed, 27 Oct 2004 17:47:51 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FE9543D2F for ; Wed, 27 Oct 2004 17:47:51 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i9RHlp6P005858 for ; Wed, 27 Oct 2004 17:47:51 GMT (envelope-from jhb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i9RHlpjg005855 for perforce@freebsd.org; Wed, 27 Oct 2004 17:47:51 GMT (envelope-from jhb@freebsd.org) Date: Wed, 27 Oct 2004 17:47:51 GMT Message-Id: <200410271747.i9RHlpjg005855@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jhb@freebsd.org using -f From: John Baldwin To: Perforce Change Reviews Subject: PERFORCE change 63836 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Oct 2004 17:47:52 -0000 http://perforce.freebsd.org/chv.cgi?CH=63836 Change 63836 by jhb@jhb_slimer on 2004/10/27 17:47:26 Update notes. Affected files ... .. //depot/projects/smpng/sys/notes#22 edit .. //depot/user/jhb/needresched/notes#7 edit Differences ... ==== //depot/projects/smpng/sys/notes#22 (text+ko) ==== @@ -53,5 +53,16 @@ go figure) - Optimize spin locks on UP such that they don't do atomic operations - Untested + - Unbenchmarked +- Add support for disabling CPUs on x86 via APIC ID (hint.lapic.X.disabled) + - need to separate mp_ncpus a bit, maybe mp_ncpus stays as count of + present CPUs, but a separate mp_activecpus is count of CPUs actually in + use. Hmm, CPUs really should just not show up when they are disabled + maybe, but that means fudging with mp_ncpus. +- Fix boot_cpu_id to be a logical FreeBSD cpuid that is the BSP on all archs + - Maybe hardcode FreeBSD cpuid 0 as BSP instead +- Change alpha to use logical FreeBSD cpuid's rather than mapping 1:1 to + physical IDs +- Revert bde's changes to the interrupt storm code. Space reserved for child branches: ==== //depot/user/jhb/needresched/notes#7 (text+ko) ==== @@ -74,3 +74,7 @@ - ULE - Move the postsig() loop in ast() into userret(), possibly conditional on needresched? If so, it goes into sched_userret(). +- Need lots of thought on realtime and idle time priorities and handling + tsleep() priority "boosts" for such processes. Might need to make + the priority boost be something passsed to sched_sleep() rather than + a sched_prio() call.