Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp446541imm; Wed, 17 Oct 2018 02:52:33 -0700 (PDT) X-Google-Smtp-Source: ACcGV62/XQoXdeSoPMcbCDyrU7bbWYuoWLn2f9QOvUEjoNJnosWn1I7k9dj06F23oJo9PU/gcDEp X-Received: by 2002:a17:902:d881:: with SMTP id b1-v6mr25729050plz.10.1539769953070; Wed, 17 Oct 2018 02:52:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539769953; cv=none; d=google.com; s=arc-20160816; b=NhEAkoCgh9jQOaqJDdgI4Dqnen+KfMib2Hs0QIAKRT3rUkWWzaEEXKWourpTzviJYo 0fyjEQfPcS5LnPnou1/KzMDdOKddC+VR1Mzttg2+xGTbz2wZpUvIWSWm1GQxgCmwkUvl KYX7AZPECoPW9p5D/78HmBBoXjFakSnR4hhtAd/St6Q7MbCWT3bWJ8emOnpN259er2E+ W6Ycr/aBRMXbj19V+q7ztluNZKlNGACzP7O5WPHwy8z6ZPlEKiRrai1raZwh8y9YcB8+ HCtjAkKKTQfIJki69KkL6sS17H1AkIuFlm52xDXSKGlpjbBUPIQLuwWgc02TNzfGQmhx j7gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=xHqKadCkpC88P3TN6ltnhA/TIjFVLTNIMJa3Vj21fHY=; b=wq7tdTkOMDpZAwkpwr4X5kVPaHw86xafxE5mnIoQ/geEBhInn7Nq9FD0RaHjxY3Hmm HImDZ3g3lZRViu0Ar9ouh0hoFVA2TA/q7elJr8tx3+f/TC9C0+mZ0ytftUKXdHKE/WPX 7B3HByea7439At2rkwwBc7HTuQWn/FQuRcI3KaBepch1IBaDEBKpqvZPsAA4RCu2H8OS efIAKU57A5un6yiRtHzY3gTLRtn62ikK3ihEuUe4T+c4qp/rUcQsfu65KbT7YEjql51B g1jHIYVoENHthn6HzOZtWuZxZTN37PNsRi1dCEIns0IzjMJFWwaM3j6avwJnANpam+dm 3zbw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e39-v6si17131940plg.188.2018.10.17.02.52.17; Wed, 17 Oct 2018 02:52:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727175AbeJQRq3 (ORCPT + 99 others); Wed, 17 Oct 2018 13:46:29 -0400 Received: from outbound-smtp10.blacknight.com ([46.22.139.15]:37788 "EHLO outbound-smtp10.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727082AbeJQRq3 (ORCPT ); Wed, 17 Oct 2018 13:46:29 -0400 Received: from mail.blacknight.com (pemlinmail03.blacknight.ie [81.17.254.16]) by outbound-smtp10.blacknight.com (Postfix) with ESMTPS id E9B6F1C19CB for ; Wed, 17 Oct 2018 10:51:32 +0100 (IST) Received: (qmail 27860 invoked from network); 17 Oct 2018 09:51:32 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[37.228.229.142]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 17 Oct 2018 09:51:32 -0000 Date: Wed, 17 Oct 2018 10:51:31 +0100 From: Mel Gorman To: Aaron Lu Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton , Huang Ying , Dave Hansen , Kemi Wang , Tim Chen , Andi Kleen , Michal Hocko , Vlastimil Babka , Matthew Wilcox , Daniel Jordan , Tariq Toukan , Jesper Dangaard Brouer Subject: Re: [RFC v4 PATCH 1/5] mm/page_alloc: use helper functions to add/remove a page to/from buddy Message-ID: <20181017095131.GI5819@techsingularity.net> References: <20181017063330.15384-1-aaron.lu@intel.com> <20181017063330.15384-2-aaron.lu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20181017063330.15384-2-aaron.lu@intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 17, 2018 at 02:33:26PM +0800, Aaron Lu wrote: > There are multiple places that add/remove a page into/from buddy, > introduce helper functions for them. > > This also makes it easier to add code when a page is added/removed > to/from buddy. > > No functionality change. > > Acked-by: Vlastimil Babka > Signed-off-by: Aaron Lu Acked-by: Mel Gorman -- Mel Gorman SUSE Labs