From owner-cvs-src-old@FreeBSD.ORG Wed Apr 29 03:18:45 2009 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 F41AC106566C for ; Wed, 29 Apr 2009 03:18:44 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E0EC88FC0A for ; Wed, 29 Apr 2009 03:18:44 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n3T3IiYF098278 for ; Wed, 29 Apr 2009 03:18:44 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n3T3IiqU098277 for cvs-src-old@freebsd.org; Wed, 29 Apr 2009 03:18:44 GMT (envelope-from jeff@repoman.freebsd.org) Message-Id: <200904290318.n3T3IiqU098277@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jeff@repoman.freebsd.org using -f From: Jeff Roberson Date: Wed, 29 Apr 2009 03:15:43 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern sched_ule.c subr_smp.c src/sys/sys smp.h 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, 29 Apr 2009 03:18:45 -0000 jeff 2009-04-29 03:15:43 UTC FreeBSD src repository Modified files: sys/kern sched_ule.c subr_smp.c sys/sys smp.h Log: SVN rev 191643 on 2009-04-29 03:15:43Z by jeff - Remove the bogus idle thread state code. This may have a race in it and it only optimized out an ipi or mwait in very few cases. - Skip the adaptive idle code when running on SMT or HTT cores. This just wastes cpu time that could be used on a busy thread on the same core. - Rename CG_FLAG_THREAD to CG_FLAG_SMT to be more descriptive. Re-use CG_FLAG_THREAD to mean SMT or HTT. Sponsored by: Nokia Revision Changes Path 1.254 +12 -28 src/sys/kern/sched_ule.c 1.214 +1 -1 src/sys/kern/subr_smp.c 1.90 +2 -1 src/sys/sys/smp.h