Received: by mail.netbsd.org (Postfix, from userid 0) id 4BE9A63B134; Sat, 6 Mar 2010 08:08:32 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id DE2AE63B130 for ; Sat, 6 Mar 2010 08:08:30 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id A28D4175E0; Sat, 6 Mar 2010 08:08:30 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: binary Content-Type: text/plain Date: Sat, 6 Mar 2010 08:08:30 +0000 From: matthew green Subject: CVS commit: src/sys/arch/sparc64 To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20100306080830.A28D4175E0@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: list Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: matthew green Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: mrg Date: Sat Mar 6 08:08:30 UTC 2010 Modified Files: src/sys/arch/sparc64/include: cpu.h intr.h pmap.h src/sys/arch/sparc64/sparc64: autoconf.c cache.h cpu.c db_interface.c pmap.c Log Message: clean up a bunch of MULTIPROCESSOR: - always include ci_ipi_evcnt[] in cpuinfo - #define sparc_ncpus 1 for !MULTIPROCESSOR - make struct pmap::pm_list an pm_ctx always be an array, and simplify several functions and lookups to always be the same tested on U60 and SB2500 before and after with one and two cpus in an MP kernel, and UP kernels, and i can't find anything besides noise for benchmark issues. (infact, i can't really tell the difference between GENERIC and GENERIC.MP on these systems...) To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.89 src/sys/arch/sparc64/include/cpu.h cvs rdiff -u -r1.27 -r1.28 src/sys/arch/sparc64/include/intr.h cvs rdiff -u -r1.51 -r1.52 src/sys/arch/sparc64/include/pmap.h cvs rdiff -u -r1.171 -r1.172 src/sys/arch/sparc64/sparc64/autoconf.c cvs rdiff -u -r1.15 -r1.16 src/sys/arch/sparc64/sparc64/cache.h cvs rdiff -u -r1.89 -r1.90 src/sys/arch/sparc64/sparc64/cpu.c cvs rdiff -u -r1.122 -r1.123 src/sys/arch/sparc64/sparc64/db_interface.c cvs rdiff -u -r1.256 -r1.257 src/sys/arch/sparc64/sparc64/pmap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.