From owner-svn-src-all@freebsd.org Mon Oct 1 15:08:29 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3CC3810C08F1; Mon, 1 Oct 2018 15:08:29 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CE52E7AD84; Mon, 1 Oct 2018 15:08:28 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from [192.168.200.4] (c-71-56-186-158.hsd1.va.comcast.net [71.56.186.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: gallatin) by duke.cs.duke.edu (Postfix) with ESMTPSA id D6B4D27000AB; Mon, 1 Oct 2018 11:08:21 -0400 (EDT) DMARC-Filter: OpenDMARC Filter v1.3.1 duke.cs.duke.edu D6B4D27000AB Authentication-Results: duke.cs.duke.edu; dmarc=none header.from=cs.duke.edu DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cs.duke.edu; s=mail0816; t=1538406502; bh=uROVU2ZWUKzpBFmAk1PczhOIQ6XPg9JdGFye7EpIunw=; h=Subject:To:From:Date:From; b=EZGYEmg9FFsLXORJjid63ZEuOK6BzHz+wWuCy/HGJnfuFGdWMRxJnoQIbBbZycpVR as5iU71jy/Rh3D4ErytR8Ai11rKuWWcDdGw4rMJZuisIVLvtBu01D2s4T1wo2ik9Zw Zj5cFlMoX4Sohy16483+S02ssBQxAD3nhQlKZXRQ9Nl9w5SRgzh2UQHdwMoJkGCf/W Dbg8VBOqwJTzvPJbfFp4fD/bXBzU3UXYTbxd1GlpyVYFElNdiEjw5OnPURuKHSILex hj2NTIc80xo/iVTnr5kzOYHyO6zwXKxq274blfZPkFY2PAAyz+UOUndvttQDOWVf6D t9XF4Y50kMQ7g== Subject: Re: svn commit: r339043 - in head/sys: kern vm x86/acpica To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201810011414.w91EEMlQ038867@repo.freebsd.org> From: Andrew Gallatin Message-ID: <67f9358b-561d-1e7b-e2f2-82a13d3754f0@cs.duke.edu> Date: Mon, 1 Oct 2018 11:08:21 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0.1 MIME-Version: 1.0 In-Reply-To: <201810011414.w91EEMlQ038867@repo.freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Oct 2018 15:08:29 -0000 On 10/1/18 10:14 AM, Andrew Gallatin wrote: > Author: gallatin > Date: Mon Oct 1 14:14:21 2018 > New Revision: 339043 > URL: https://urldefense.proofpoint.com/v2/url?u=https-3A__svnweb.freebsd.org_changeset_base_339043&d=DwIDaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=Ed-falealxPeqc22ehgAUCLh8zlZbibZLSMWJeZro4A&m=vFxrWMxnRsVgXYUUeDU3mY3EdLAlur-SanLWzMxFWow&s=a6s6FleHIdYhZF1D_SqEOf9apgxdQ2RBvF0HcKicCus&e= > > Log: > Allow empty NUMA memory domains to support Threadripper2 > > The AMD Threadripper 2990WX is basically a slightly crippled Epyc. > Rather than having 4 memory controllers, one per NUMA domain, it has > only 2 memory controllers enabled. This means that only 2 of the > 4 NUMA domains can be populated with physical memory, and the > others are empty. > > Add support to FreeBSD for empty NUMA domains by: > > - creating empty memory domains when parsing the SRAT table, > rather than failing to parse the table > - not running the pageout deamon threads in empty domains > - adding defensive code to UMA to avoid allocating from empty domains > - adding defensive code to cpuset to avoid binding to an empty domain > Thanks to Jeff for suggesting this strategy. > > Reviewed by: alc, markj > Approved by: re (gjb@) > Differential Revision: https://reviews.freebsd.org/D1683 Whoops, cut-and-paste error. The Differential Revision should have been: https://reviews.freebsd.org/D16836 Drew