From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754020AbdA3SRW (ORCPT ); Mon, 30 Jan 2017 13:17:22 -0500 Received: from mga06.intel.com ([134.134.136.31]:48328 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753996AbdA3SRT (ORCPT ); Mon, 30 Jan 2017 13:17:19 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,312,1477983600"; d="scan'208";a="53811301" Subject: Re: [RFC V2 05/12] cpuset: Add cpuset_inc() inside cpuset_init() To: Anshuman Khandual , linux-kernel@vger.kernel.org, linux-mm@kvack.org References: <20170130033602.12275-1-khandual@linux.vnet.ibm.com> <20170130033602.12275-6-khandual@linux.vnet.ibm.com> Cc: mhocko@suse.com, vbabka@suse.cz, mgorman@suse.de, minchan@kernel.org, aneesh.kumar@linux.vnet.ibm.com, bsingharora@gmail.com, srikar@linux.vnet.ibm.com, haren@linux.vnet.ibm.com, jglisse@redhat.com, dan.j.williams@intel.com From: Dave Hansen Message-ID: Date: Mon, 30 Jan 2017 09:36:20 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20170130033602.12275-6-khandual@linux.vnet.ibm.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/29/2017 07:35 PM, Anshuman Khandual wrote: > Currently cpusets_enabled() wrongfully returns 0 even if we have a root > cpuset configured on the system. This got missed when jump level was > introduced in place of number_of_cpusets with the commit 664eeddeef65 > ("mm: page_alloc: use jump labels to avoid checking number_of_cpusets") > . This fixes the problem so that cpusets_enabled() returns positive even > for the root cpuset. > > Fixes: 664eeddeef65 ("mm: page_alloc: use jump labels to avoid") > Signed-off-by: Anshuman Khandual This needs to go upstream separately, right? From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f69.google.com (mail-pg0-f69.google.com [74.125.83.69]) by kanga.kvack.org (Postfix) with ESMTP id 10D5E6B0038 for ; Mon, 30 Jan 2017 12:36:22 -0500 (EST) Received: by mail-pg0-f69.google.com with SMTP id 194so462363529pgd.7 for ; Mon, 30 Jan 2017 09:36:22 -0800 (PST) Received: from mga06.intel.com (mga06.intel.com. [134.134.136.31]) by mx.google.com with ESMTPS id r69si13215114pfk.242.2017.01.30.09.36.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Jan 2017 09:36:21 -0800 (PST) Subject: Re: [RFC V2 05/12] cpuset: Add cpuset_inc() inside cpuset_init() References: <20170130033602.12275-1-khandual@linux.vnet.ibm.com> <20170130033602.12275-6-khandual@linux.vnet.ibm.com> From: Dave Hansen Message-ID: Date: Mon, 30 Jan 2017 09:36:20 -0800 MIME-Version: 1.0 In-Reply-To: <20170130033602.12275-6-khandual@linux.vnet.ibm.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Anshuman Khandual , linux-kernel@vger.kernel.org, linux-mm@kvack.org Cc: mhocko@suse.com, vbabka@suse.cz, mgorman@suse.de, minchan@kernel.org, aneesh.kumar@linux.vnet.ibm.com, bsingharora@gmail.com, srikar@linux.vnet.ibm.com, haren@linux.vnet.ibm.com, jglisse@redhat.com, dan.j.williams@intel.com On 01/29/2017 07:35 PM, Anshuman Khandual wrote: > Currently cpusets_enabled() wrongfully returns 0 even if we have a root > cpuset configured on the system. This got missed when jump level was > introduced in place of number_of_cpusets with the commit 664eeddeef65 > ("mm: page_alloc: use jump labels to avoid checking number_of_cpusets") > . This fixes the problem so that cpusets_enabled() returns positive even > for the root cpuset. > > Fixes: 664eeddeef65 ("mm: page_alloc: use jump labels to avoid") > Signed-off-by: Anshuman Khandual This needs to go upstream separately, right? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org