Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp546317pxb; Sat, 10 Apr 2021 10:49:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZPLXX/ZS9JSb1BlAfaoQZnFLAaD5mJx3gcLVIoRGoirIcaSZ4k032ZFPzJuXVxRVOlM2m X-Received: by 2002:a17:90a:bf06:: with SMTP id c6mr16851405pjs.186.1618076965383; Sat, 10 Apr 2021 10:49:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618076965; cv=none; d=google.com; s=arc-20160816; b=fVqAp3tSlF2HdZFoTWjjJXiQ8WqHEIUp30BiY8vGXnDye5Fgrcn4dhSdizQOnetFVT qdE53HCcFjA6UCfgP7QrXho3FzDCgcdAhX1sVQllj71xwVNUrIhiBZYrVsRFbUtxNH3x mGNv0y/rWhXx5dmNT+HK/Yu6MyV0qlArP5YIk3/4Igb6TcWOCTYhtjWOWomxofN7IWIv V9ERp0i5KSoPN9cAWSsoKHdiDuWusQdTJJuWMMPAm4O6NXMg+WDCWiHDxPIM+lyAU61X rIotMT/Ub2TcbQO1J1cqTYJ8p5oympzDZo1pGVwT7935z5EhDMzochMduT1W+8UBdbl7 ADJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=DFoH6NSNyfcllxZN9x7T5g5NvAfI0hR11J01wzi+Rak=; b=rQUCjgk/43e3EIiMoWKUxpjfT2kX2JLV3grvYC2ZPbTBZ7l5WSeS/TAXp720UxSi+N PUvFzJ6MPrfp32+E4qWcdDPQSRHVlnK/NQeGxHRCHbqabrN7Q2XQyI74l3WGjEbeHu+2 Uq3REk2j+SZOuWeHCMSvEuwwXcN8VIaasq7YEVSSvenohp4XRtmqYvJFVKqjIZrhLED8 mzjkPHNhUbZPrhArgdQsomwrYy2XtfYixiPaXVk5x7ZsgLJlPaE+Tw7XbIBzgbeZ3fQq M8CrWVzXjOc3FHFbndImfYejkAV3uF+hWcCguOTs1BSOEEInlcxHmIxhimFNzeH/Ycge jaCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=emMH1QS+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z8si6506610pfe.208.2021.04.10.10.49.12; Sat, 10 Apr 2021 10:49:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=emMH1QS+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234738AbhDJRsp (ORCPT + 99 others); Sat, 10 Apr 2021 13:48:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234392AbhDJRso (ORCPT ); Sat, 10 Apr 2021 13:48:44 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F60FC06138A for ; Sat, 10 Apr 2021 10:48:29 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id u4so10246691ljo.6 for ; Sat, 10 Apr 2021 10:48:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DFoH6NSNyfcllxZN9x7T5g5NvAfI0hR11J01wzi+Rak=; b=emMH1QS+ntGVOEoQCjkRSaiVYfOIXxsZAVWPA2MGa6XMik3AdWgQe0SryVA+QHUPzp XOvi4etlW95I/m9i34aOYC4SMQsb5KTxp6WCbSId/48q0S9g8FzTlEc8njKoIZdLihmE iZT6H5AZ/gyN0aVdSsYbUXFyrdNEprEAj0KT6RE/aoSZHVzhKSEVLzGirP9vQAb8HdQC OpyC4JlAqWTCaW+dnXwU2pXLMzLxZakFewNyqPnwe/9/yRqmzjzsXyL9Xw9IuHediXVg oiXZeX4mcb8DiaMAxUhWTxbFh2UCVWbuzwVhD+5Y+XC62vsTXf7VMEnW4uMb7CKr3Cvy IPTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DFoH6NSNyfcllxZN9x7T5g5NvAfI0hR11J01wzi+Rak=; b=BbuZs9BJE2oSKkZ4hlu1o0VefQ7+CDhYTry5KTRMBxw54nUaYoulqYGPqvkW6IPJfO stIrjZS4uMk1VLWzmkl3Kn+uAuN2yZMTifMPOpYPVTP0M2kFbViE+uU8lOmmDquXVDLE sKooM1TP4ZhgU3nRKi/+QOSKJbmSaCFNGzL9DtOxynHNX1PzDPrvcXlbLCInWe0k4REN /3dJEAHL1lUzkEBBDeiyCHqyhyHBcOzU+5lxDKkN/XYbwNnAZyXWALpqvWf1lXrwFdxp 1hw01yVDzOUJ4+kWrgPOuXIQm1M9XAWzgDy9yAdBHvnJtPgPGDTviZB2L89KYLJDbccI rS3g== X-Gm-Message-State: AOAM531cLPzReqIyuDVl00IHTxH6CBSA1u6WczthaDgkuF7ApTjSNvy1 ApJ3FyxqYVQUfg0HS4bLkQlOL1pPhFx8yb1LCk+otw== X-Received: by 2002:a05:651c:1248:: with SMTP id h8mr613628ljh.160.1618076908037; Sat, 10 Apr 2021 10:48:28 -0700 (PDT) MIME-Version: 1.0 References: <20210409122959.82264-1-songmuchun@bytedance.com> <20210409122959.82264-10-songmuchun@bytedance.com> In-Reply-To: From: Shakeel Butt Date: Sat, 10 Apr 2021 10:48:15 -0700 Message-ID: Subject: Re: [External] Re: [RFC PATCH v2 09/18] mm: vmscan: remove noinline_for_stack To: Muchun Song Cc: Johannes Weiner , Roman Gushchin , Michal Hocko , Andrew Morton , Vladimir Davydov , LKML , Linux MM , Xiongchun duan , fam.zheng@bytedance.com, Balbir Singh , Yang Shi , Alex Shi Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 9, 2021 at 9:34 PM Muchun Song wrote: > > On Sat, Apr 10, 2021 at 2:31 AM Johannes Weiner wrote: > > > > On Fri, Apr 09, 2021 at 08:29:50PM +0800, Muchun Song wrote: > > > The noinline_for_stack is introduced by commit 666356297ec4 ("vmscan: > > > set up pagevec as late as possible in shrink_inactive_list()"), its > > > purpose is to delay the allocation of pagevec as late as possible to > > > save stack memory. But the commit 2bcf88796381 ("mm: take pagevecs off > > > reclaim stack") replace pagevecs by lists of pages_to_free. So we do > > > not need noinline_for_stack, just remove it (let the compiler decide > > > whether to inline). > > > > > > Signed-off-by: Muchun Song > > > > Good catch. > > > > Acked-by: Johannes Weiner > > > > Since this patch is somewhat independent of the rest of the series, > > you may want to put it in the very beginning, or even submit it > > separately, to keep the main series as compact as possible. Reviewers > > can be more hesitant to get involved with larger series ;) > > OK. I will gather all the cleanup patches into a separate series. > Thanks for your suggestion. That would be best. For this patch: Reviewed-by: Shakeel Butt