From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by kanga.kvack.org (Postfix) with ESMTP id D1BEA82F7F for ; Thu, 24 Sep 2015 16:06:35 -0400 (EDT) Received: by wicgb1 with SMTP id gb1so265379375wic.1 for ; Thu, 24 Sep 2015 13:06:35 -0700 (PDT) Received: from gum.cmpxchg.org (gum.cmpxchg.org. [85.214.110.215]) by mx.google.com with ESMTPS id bz18si704060wib.94.2015.09.24.13.06.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Sep 2015 13:06:34 -0700 (PDT) Date: Thu, 24 Sep 2015 16:06:27 -0400 From: Johannes Weiner Subject: Re: [PATCH 03/10] mm, page_alloc: Remove unnecessary taking of a seqlock when cpusets are disabled Message-ID: <20150924200627.GG3009@cmpxchg.org> References: <1442832762-7247-1-git-send-email-mgorman@techsingularity.net> <1442832762-7247-4-git-send-email-mgorman@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1442832762-7247-4-git-send-email-mgorman@techsingularity.net> Sender: owner-linux-mm@kvack.org List-ID: To: Mel Gorman Cc: Andrew Morton , Rik van Riel , Vlastimil Babka , David Rientjes , Joonsoo Kim , Michal Hocko , Linux-MM , LKML On Mon, Sep 21, 2015 at 11:52:35AM +0100, Mel Gorman wrote: > There is a seqcounter that protects against spurious allocation failures > when a task is changing the allowed nodes in a cpuset. There is no need > to check the seqcounter until a cpuset exists. > > Signed-off-by: Mel Gorman > Acked-by: Christoph Lameter > Acked-by: David Rientjes > Acked-by: Vlastimil Babka > Acked-by: Michal Hocko Acked-by: Johannes Weiner -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753641AbbIXUGh (ORCPT ); Thu, 24 Sep 2015 16:06:37 -0400 Received: from gum.cmpxchg.org ([85.214.110.215]:46985 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751843AbbIXUGf (ORCPT ); Thu, 24 Sep 2015 16:06:35 -0400 Date: Thu, 24 Sep 2015 16:06:27 -0400 From: Johannes Weiner To: Mel Gorman Cc: Andrew Morton , Rik van Riel , Vlastimil Babka , David Rientjes , Joonsoo Kim , Michal Hocko , Linux-MM , LKML Subject: Re: [PATCH 03/10] mm, page_alloc: Remove unnecessary taking of a seqlock when cpusets are disabled Message-ID: <20150924200627.GG3009@cmpxchg.org> References: <1442832762-7247-1-git-send-email-mgorman@techsingularity.net> <1442832762-7247-4-git-send-email-mgorman@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1442832762-7247-4-git-send-email-mgorman@techsingularity.net> User-Agent: Mutt/1.5.23+102 (2ca89bed6448) (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 21, 2015 at 11:52:35AM +0100, Mel Gorman wrote: > There is a seqcounter that protects against spurious allocation failures > when a task is changing the allowed nodes in a cpuset. There is no need > to check the seqcounter until a cpuset exists. > > Signed-off-by: Mel Gorman > Acked-by: Christoph Lameter > Acked-by: David Rientjes > Acked-by: Vlastimil Babka > Acked-by: Michal Hocko Acked-by: Johannes Weiner