Date: Mon, 20 Aug 2007 06:36:12 +0000 (UTC) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_switch.c Message-ID: <200708200636.l7K6aCCE065820@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2007-08-20 06:36:12 UTC FreeBSD src repository Modified files: sys/kern kern_switch.c Log: - Improve runq_findbit_from() which is used by ULE's circular queue. Mask of the bits we want to ignore on the first pass rather than doing a linear scan. This puts us within a few instructions of the cost of runq_findbit() and removes this function from the top of profiling output for context switch heavy workloads. Approved by: re Revision Changes Path 1.134 +22 -32 src/sys/kern/kern_switch.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708200636.l7K6aCCE065820>