From owner-freebsd-arch@freebsd.org Thu Jun 25 00:49:58 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 81BE89151D2 for ; Thu, 25 Jun 2015 00:49:58 +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 4F9021BB1 for ; Thu, 25 Jun 2015 00:49:58 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igbiq7 with SMTP id iq7so108816533igb.1 for ; Wed, 24 Jun 2015 17:49:57 -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=TWmRsvKKWyqYAhQ6a3/q6/xbrrdtdKiTq2vbmgNvKqk=; b=lxpl3BBXYdFtSX3kvwcxJ76nazemM+KTaxO57d2Mf8FnWtNO6zGa/zDX1z4JB1zbXi zIHv5bmcg0rgoImhPUIsy0WUPBmzP3cC1IX35DZOhKbCead3kf2gsMGYddKZGDZD6mFC XWDU+JSFSULDhPslTf6qX4nG8MYwd1h0sQmjm3821qC/X0DZdSBdBw330TcSYnizWLYs DQLYhfMvovctcrMQ2BvD5oJHln6I5ItcqtE1a4fLJ5xE1RT8eGxIfJU1YAN7zWSuaOLB /BoTHegZV/tCT2IgwTlRZcutEjGlc1Ru+93rzJuC6pLjGkTbaXhVNkcj++RLWpzeIJll pqzA== MIME-Version: 1.0 X-Received: by 10.50.111.167 with SMTP id ij7mr599843igb.49.1435193397616; Wed, 24 Jun 2015 17:49:57 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Wed, 24 Jun 2015 17:49:57 -0700 (PDT) In-Reply-To: References: Date: Wed, 24 Jun 2015 17:49:57 -0700 X-Google-Sender-Auth: AhhQ04kyCUuLMCSbQoCVMKoABo4 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: Thu, 25 Jun 2015 00:49:58 -0000 Hi, I've updated the NUMA branch again: https://github.com/freebsd/freebsd/compare/master...erikarn:local/adrian_numa_policy The main fixes: * (stas) Added short versions of options to numactl; * (stas, wblock, rpaulo) Documentation and code fixes during review; * (kib) updated the userland facing API to not include seq_t; * fixed up a couple of silly bugs that gcc-4.2 picked up; * fixed up compile issues on gcc-4.2. I've tested this on mips32, mips64, x86 non-NUMA (GENERIC) and NUMA hardware. kib@ has requested that this use the procctl() API rather than adding new syscalls. procctl() currently doesn't support P_LWPID (ie thread) based identifiers for any of its manipulation, so I'd have to go and add that. I think this is close to what I'd like to commit. I'd appreciate another review. Thanks, -adrian