From owner-freebsd-arch@freebsd.org Mon Jul 6 02:06:28 2015 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1B5D99FF2 for ; Mon, 6 Jul 2015 02:06:28 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DC5FC1DAD for ; Mon, 6 Jul 2015 02:06:27 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igrv9 with SMTP id v9so144717982igr.1 for ; Sun, 05 Jul 2015 19:06:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=MgXW751BNWdXhotYPui2BqIW7AWt6aNKyQf8ZNMqyus=; b=J2I48mUfuPbk33T6w7iQWpGjVCDsOAjitW+7EAy1EJOwhoR7U6XYI4CSS06/vkrTb/ E3fDR54WHSIlw4vwtuUnr2WdK2JHvrrYNjTA4+8Iw1f+TxDixW/LS6bz9ZR25e9rLmpj qI5c/kC27+ICwy4BX0EJfLFU/DnkcFIieH9kq3orqPqkG6sWOf3c/mWV1gOKMR5vQNup +NAJynTAl4CeQ4wYkMkTRlHLIOx3LkiV7R4f1weepTLGs0LOZfXPhxJo2dLbaMoIxqC/ 3b2aCD/5/4iu0iqE3OXybteN5iw1o279tXfD6t6BQXXratt1HA6TvhjPsdp2PqL5RjqD iruw== MIME-Version: 1.0 X-Received: by 10.50.111.167 with SMTP id ij7mr64607342igb.49.1436148387259; Sun, 05 Jul 2015 19:06:27 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Sun, 5 Jul 2015 19:06:27 -0700 (PDT) In-Reply-To: References: Date: Sun, 5 Jul 2015 19:06:27 -0700 X-Google-Sender-Auth: a17En5YrqDaxatb0mLHe3bEmcI4 Message-ID: Subject: Re: CFT/CFR: NUMA policy branch From: Adrian Chadd To: "freebsd-arch@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jul 2015 02:06:28 -0000 Hi, I've done another update. kib@ has been beating me with the clue stick a bit. https://github.com/freebsd/freebsd/compare/master...erikarn:local/adrian_numa_policy * (kib) (numactl.c) fix up sorting of include files * (kib) (numactl.c) consistent use of values when calling err() * (kib) (numactl.c) consistently wrap lines at 78 characters, don't prematurely wrap lines * (kib) don't use the old-style BSD licence mentioning "regents", use the updated one * (kib) (vm_domain.c) don't break out after iterating a few times and have the API be unpredictable - so now the API will always succeed in reading a vm_policy I've tested the policies (first-touch, fixed-domain, round-robin) and they all still work as advertised, both on threads and processes. I'd appreciate more reviews and some further testing. Thanks! -adrian