From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753611AbbIBJeH (ORCPT ); Wed, 2 Sep 2015 05:34:07 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:56943 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750717AbbIBJeG (ORCPT ); Wed, 2 Sep 2015 05:34:06 -0400 Date: Wed, 2 Sep 2015 11:33:54 +0200 From: Peter Zijlstra To: Srikar Dronamraju Cc: Ingo Molnar , linux-kernel@vger.kernel.org, Rik van Riel , Mel Gorman Subject: Re: [PATCH v2 0/3] Disable sched_numa_balancing on uma systems Message-ID: <20150902093354.GS16853@twins.programming.kicks-ass.net> References: <1439290813-6683-1-git-send-email-srikar@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1439290813-6683-1-git-send-email-srikar@linux.vnet.ibm.com> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 11, 2015 at 04:30:10PM +0530, Srikar Dronamraju wrote: > With recent commit 2a1ed24 ("sched/numa: Prefer NUMA hotness over cache > hotness") sets sched feature NUMA to true. This can enable numa hinting > faults on a uma system. > > This patchset ensures that numa hinting faults occur only on a numa system > by setting/resetting sched_numa_balancing. > > This patchset > - Renames numabalancing_enabled to sched_numa_balancing > - Makes sched_numa_balancing common to CONFIG_SCHED_DEBUG and > !CONFIG_SCHED_DEBUG. Earlier it was only in !CONFIG_SCHED_DEBUG > - Checks for sched_numa_balancing instead of sched_feat(NUMA) > - Removes NUMA sched feature > > Srikar Dronamraju (3): > sched/numa: Rename numabalancing_enabled to sched_numa_balancing > sched/numa: Disable sched_numa_balancing on uma systems > sched/numa: Remove NUMA sched feature > > kernel/sched/core.c | 16 +++------------- > kernel/sched/fair.c | 8 ++++---- > kernel/sched/features.h | 16 ---------------- > kernel/sched/sched.h | 10 ++-------- > 4 files changed, 9 insertions(+), 41 deletions(-) Thanks!