From owner-svn-src-all@freebsd.org Thu May 5 21:08:58 2016 Return-Path: Delivered-To: svn-src-all@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 9A58CB2EAD6; Thu, 5 May 2016 21:08:58 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-lf0-x235.google.com (mail-lf0-x235.google.com [IPv6:2a00:1450:4010:c07::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 2F9A41093; Thu, 5 May 2016 21:08:58 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-lf0-x235.google.com with SMTP id j8so110204357lfd.2; Thu, 05 May 2016 14:08:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=tlzegdDWHrJ6MzUJSaqx2Wp9mPdsVmnelQw3vpK65wY=; b=N69Oxh6LqvSqwDu5tevKV+14+RRUiqDnz9s7vZfWKvdxHPvipuNyooI5cRbMj/aOEp xA5dSrFhC87xBockZ1dmhXiRr/kPvQN6gpwhoCVpbZrbSo7R1hq4vSoI+9uUhpicQl0f WGAi0xW486iqKpndvZUqxFDUjKOXlVBOqnBGJH47F0IR1UBrYlMiWnABJBt5805lB7G2 sLTuyncqpYXuVvzfBjmxGlw2M6f3AyAGAwPvs3NYjyrJyBh56AP3PXU4suKJ88vvNYWY ZEM3XPNca95YikhLxU8TU3UexNbJI+15RrZ6z85m0XWn86Ly73FnUg/8j/1ebDDr020K +TxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=tlzegdDWHrJ6MzUJSaqx2Wp9mPdsVmnelQw3vpK65wY=; b=DFOgIeH+SY7VRFb0EVlaU8N+C2rCdjF1eW6sCtUmvcZEQP03lRABAADL2CHQvNEHHv 5VaSxJMI86SFjTmlaXRdGrFX6y0x7ujkLzOdlPF8U+OKZjJ8bT0EwR6yOj9/FvPZLXLw P3lstfw1A+YCazhBbTvtmJpewTHSWR1maXw248NbR8jQA7dZrvZ4PI58ZnJ7q+rhzPgb 8pFCAo50aMtfz1Xq3q5DbDD8I/FjE4PxKfpvXvFPQtWjXkNFOKWImPGCMMIcqfWscNKK fqs9OwLRiyEIjK4j/p89IcZuUtKrkkAbZFBhSuSyA0tkybqGKYwDBQTA9ZTMReEN+x2g OL8w== X-Gm-Message-State: AOPr4FWoJQcZ/+3GmRo5gnSD46fOICdwIALAMJzCtBR/vq5RGi5yT8PTLb9oysBF+9N2Z8EJo7dD6IL9kIjcyw== MIME-Version: 1.0 X-Received: by 10.112.205.69 with SMTP id le5mr8000592lbc.138.1462482536202; Thu, 05 May 2016 14:08:56 -0700 (PDT) Received: by 10.112.175.8 with HTTP; Thu, 5 May 2016 14:08:56 -0700 (PDT) In-Reply-To: <201604091358.u39Dw4SW079049@repo.freebsd.org> References: <201604091358.u39Dw4SW079049@repo.freebsd.org> Date: Thu, 5 May 2016 14:08:56 -0700 Message-ID: Subject: Re: svn commit: r297748 - in head/sys: conf dev/acpica kern vm x86/acpica From: Ngie Cooper To: John Baldwin Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 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: Thu, 05 May 2016 21:08:58 -0000 On Sat, Apr 9, 2016 at 6:58 AM, John Baldwin wrote: > Author: jhb > Date: Sat Apr 9 13:58:04 2016 > New Revision: 297748 > URL: https://svnweb.freebsd.org/changeset/base/297748 > > Log: > Add more fine-grained kernel options for NUMA support. > > VM_NUMA_ALLOC is used to enable use of domain-aware memory allocation in > the virtual memory system. DEVICE_NUMA is used to enable affinity > reporting for devices such as bus_get_domain(). > > MAXMEMDOM must still be set to a value greater than for any NUMA support > to be effective. Note that 'cpuset -gd' always works if MAXMEMDOM is > enabled and the system supports NUMA. > > Reviewed by: kib > Differential Revision: https://reviews.freebsd.org/D5782 Jenkins/clang says vm_domain_rr_selectdomain(..) is unused if VM_NUMA_ALLOC isn't defined after this commit: https://jenkins.freebsd.org/job/FreeBSD_HEAD/250/warnings7Result/package.-887393991/source.-7253451996200343468/#55 . Could this be reduced/folded or did you mean to add more logic around this function in the future? Thanks, -Ngie