From owner-cvs-src@FreeBSD.ORG Sun Mar 2 16:31:36 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92A491065676 for ; Sun, 2 Mar 2008 16:31:36 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: from web33702.mail.mud.yahoo.com (web33702.mail.mud.yahoo.com [68.142.201.199]) by mx1.freebsd.org (Postfix) with SMTP id 4A4478FC12 for ; Sun, 2 Mar 2008 16:31:36 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: (qmail 82970 invoked by uid 60001); 2 Mar 2008 16:04:54 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=OKe8Dswim8Y/HOnuYsWMe3S4bjlWT2vT2DgwdwceddLfUmLJI7OMBdBhFnmh5c8mq8iiwXY3mVh/UkueCFoVAwW83nGP6lULwMutKTQSKRxu5N2vSeytKSDhlYck3w4re7MqM/46X4/a9rn1IsQyN2ksf35ZdkSHC+KO/V5tHws=; X-YMail-OSG: Ci7.ntgVM1lFF0XeI3L4Jx8LDrQt.pab1Ydm.3Y_FodBl4jL_LDlW1zbxNPu5im.VTPF4A2Po2LIb_0qMz82DSeN9mHQl6L7TrlCDgGsVEvk5R3aN4I- Received: from [82.148.96.69] by web33702.mail.mud.yahoo.com via HTTP; Sun, 02 Mar 2008 08:04:54 PST X-Mailer: YahooMailRC/902.35 YahooMailWebService/0.7.162 Date: Sun, 2 Mar 2008 08:04:54 -0800 (PST) From: Abdullah Ibn Hamad Al-Marri To: Jeff Roberson , src-committers@FreeBSD.org, cvs-src@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <688753.81849.qm@web33702.mail.mud.yahoo.com> Cc: Subject: Re: cvs commit: src/sys/kern sched_ule.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: Sun, 02 Mar 2008 16:31:36 -0000 ----- Original Message ---- > From: Jeff Roberson > To: src-committers@FreeBSD.org; cvs-src@FreeBSD.org; cvs-all@FreeBSD.org > Sent: Sunday, March 2, 2008 11:21:00 AM > Subject: cvs commit: src/sys/kern sched_ule.c > > jeff 2008-03-02 08:20:59 UTC > > FreeBSD src repository > > Modified files: > sys/kern sched_ule.c > Log: > Add support for the new cpu topology api: > - When searching for affinity search backwards in the tree from the last > cpu we ran on while the thread still has affinity for the group. This > can take advantage of knowledge of shared L2 or L3 caches among a > group of cores. > - When searching for the least loaded cpu find the least loaded cpu via > the least loaded path through the tree. This load balances system bus > links, individual cache levels, and hyper-threaded/SMT cores. > - Make the periodic balancer recursively balance the highest and lowest > loaded cpu across each link. > > Add support for cpusets: > - Convert the cpuset to a simple native cpumask_t while the kernel still > only supports cpumask. > - Pass the derived cpumask down through the cpu_search functions to > restrict the result cpus. > - Make the various steal functions resilient to failure since all threads > can not run on all cpus any longer. > > General improvements: > - Precisely track the lowest priority thread on every runq with > tdq_setlowpri(). Before it was more advisory but this ended up having > pathological behaviors. > - Remove many #ifdef SMP conditions to simplify the code. > - Get rid of the old cumbersome tdq_group. This is more naturally > expressed via the cpu_group tree. > > Sponsored by: Nokia > Testing by: kris > > Revision Changes Path > 1.226 +443 -501 src/sys/kern/sched_ule.c > _______________________________________________ Is it possible to have patch for RELENG_7? Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ