From owner-svn-src-head@FreeBSD.ORG Wed May 15 05:31:00 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 36E7939B; Wed, 15 May 2013 05:31:00 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from mail1.ozon.ru (mx4.ozon.ru [194.186.179.140]) by mx1.freebsd.org (Postfix) with ESMTP id 7CF8BDF6; Wed, 15 May 2013 05:30:59 +0000 (UTC) Received: from intmail03msk.ozon (intmail03msk.ozon [10.18.18.171]) by mail1.ozon.ru (Postfix) with ESMTP id 520C571A5D8; Wed, 15 May 2013 09:30:58 +0400 (MSK) Received: from mail pickup service by intmail03msk.ozon with Microsoft SMTPSVC; Wed, 15 May 2013 09:29:11 +0400 Received: from intmail03msk.ozon ([10.18.18.171]) by intmail02msk.ozon with Microsoft SMTPSVC(6.0.3790.4675); Mon, 13 May 2013 23:12:37 +0400 Received: from mail1.ozon.ru ([194.186.179.140]) by intmail03msk.ozon with Microsoft SMTPSVC(6.0.3790.4675); Mon, 13 May 2013 22:01:59 +0400 Received: from localhost (localhost [127.0.0.1]) by mail1.ozon.ru (Postfix) with ESMTP id D0EC171A6AD for ; Mon, 13 May 2013 22:01:59 +0400 (MSK) X-Virus-Scanned: amavisd-new at ozon.ru Received: from mail1.ozon.ru ([127.0.0.1]) by localhost (mx4.ozon.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aTpL+3TETEEH for ; Mon, 13 May 2013 22:01:51 +0400 (MSK) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received-SPF: pass (freebsd.org: 8.8.178.116 is authorized to use 'owner-svn-src-all@freebsd.org' in 'mfrom' identity (mechanism 'ip4:8.8.178.116' matched)) receiver=mx4.ozon.ru; identity=mfrom; envelope-from="owner-svn-src-all@freebsd.org"; helo=mx2.freebsd.org; client-ip=8.8.178.116 Received: from mx2.freebsd.org (mx2.FreeBSD.org [8.8.178.116]) by mail1.ozon.ru (Postfix) with ESMTP id E2DE8719387 for ; Mon, 13 May 2013 22:01:50 +0400 (MSK) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:1900:2254:206c::16:88]) by mx2.freebsd.org (Postfix) with ESMTP id 7786DB70; Mon, 13 May 2013 18:01:49 +0000 (UTC) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:1900:2254:206c::16:88]) by hub.freebsd.org (Postfix) with ESMTP id E671E8B1; Mon, 13 May 2013 18:01:48 +0000 (UTC) (envelope-from owner-svn-src-all@freebsd.org) Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2CCCD763; Mon, 13 May 2013 18:01:42 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) by mx1.freebsd.org (Postfix) with ESMTP id 0A498DDD; Mon, 13 May 2013 18:01:42 +0000 (UTC) Received: from dhcp-10-2-212-236.hudson-trading.com (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 72D89B926; Mon, 13 May 2013 14:01:41 -0400 (EDT) Message-ID: <51912A88.8040609@FreeBSD.org> Date: Mon, 13 May 2013 14:01:44 -0400 From: John Baldwin User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Attilio Rao Subject: Re: svn commit: r250601 - in head/sys: sys vm x86/acpica References: <201305131540.r4DFepou074563@svn.freebsd.org> In-Reply-To: <201305131540.r4DFepou074563@svn.freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 13 May 2013 14:01:41 -0400 (EDT) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: owner-svn-src-all@freebsd.org Sender: owner-svn-src-all@freebsd.org X-OriginalArrivalTime: 13 May 2013 18:01:59.0900 (UTC) FILETIME=[F6F999C0:01CE5003] Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 May 2013 05:31:00 -0000 On 5/13/13 11:40 AM, Attilio Rao wrote: > Author: attilio > Date: Mon May 13 15:40:51 2013 > New Revision: 250601 > URL: http://svnweb.freebsd.org/changeset/base/250601 > > Log: > o Add accessor functions to add and remove pages from a specific > freelist. > o Split the pool of free pages queues really by domain and not rely on > definition of VM_RAW_NFREELIST. > o For MAXMEMDOM > 1, wrap the RR allocation logic into a specific > function that is called when calculating the allocation domain. > The RR counter is kept, currently, per-thread. > In the future it is expected that such function evolves in a real > policy decision referee, based on specific informations retrieved by > per-thread and per-vm_object attributes. > o Add the concept of "probed domains" under the form of vm_ndomains. > It is responsibility for every architecture willing to support multiple > memory domains to correctly probe vm_ndomains along with mem_affinity > segments attributes. Those two values are supposed to remain always > consistent. > Please also note that vm_ndomains and td_dom_rr_idx are both int > because segments already store domains as int. Ideally u_int would > have much more sense. Probabilly this should be cleaned up in the > future. > o Apply RR domain selection also to vm_phys_zero_pages_idle(). My other comments aside: to be clear (this log message doesn't make it clear I think): this changes our NUMA allocation policy to be round-robin instead of first touch (which is probably better for the general case). Also, if you want to honor SLIT, you will need to put back something like the lookup lists from before, though in this case it can just be a simple list of domains for each domain. -- John Baldwin _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"