Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3754770pxk; Tue, 22 Sep 2020 01:27:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAH/5dTrZFs0IiBguOCvuPydNqc8EoCeYVOPeDOQlwUokO18r4FyuS+O1Py5mlTbZdy6JA X-Received: by 2002:a17:906:ca4f:: with SMTP id jx15mr3593469ejb.454.1600763243551; Tue, 22 Sep 2020 01:27:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600763243; cv=none; d=google.com; s=arc-20160816; b=sf+4Wp3k8hZEMTRUEDwa1uOrE0EoNtlGlr9VQzEAbOVUE3o5J1vPp1aiAjybn+8R4x j85zNBtgb5BuHyGOP5FvZeqchmmo16uEhqifYWfyvgXKp6spYMzC8A7dWilHy4D5Kx7L IFgDurnItNBpnkd5EZQgQPqB+viR2m1LKNlIYg97zdOtWb44kc5FOd/Xwi1thPXQCvYp insvX/BsOeWedYfH3RIE9UypYH3XS3imXw0Cdl5ko1XAnQNaTGSdD7D8BqET+Tp9CUti ABU/5WYDj3yuFddQhZX2LUI+N+dKStJ7xZvPM1sKnkpJLI9mcVo/VdzAS+RJPXFq7I0k Brow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=rj2KbrP8wDZHh7cva4yvY3TOcqZLJGweHnZrrr56Tas=; b=fjPGLDx4Qo4KCeo6pFbRJJPIOXcc7+rsDABI9zpFPyUd8QiOFdhW3MLvcyJ3Cr8vpB j7/6arqGERmGnZxzRVEYhw95U7wVT/UPqAx6LMBj6C3cuLtZjtZna8yvBgZL1sL2IAAe EZ6e7UfWsYjItvzACD3f2bUGj22RnJEPWP0RY0goFtL4UUlmGUMi4xyp8egMoQs70GV5 gloA7gNt4FI+yEfhlGy3s26fBFsouM3UZWKoV6Lr4zEMnyG8dco4N3+mPau/ZM/hqXfp ngASqTn/hP31iKAGfcER16n5rQRW5QZZGiTl5r3rDDPcrDKt7VLzGmFiA1gCbSu+vnht Ocjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=u+iUdxzi; 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 a4si9605302edt.550.2020.09.22.01.27.00; Tue, 22 Sep 2020 01:27:23 -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=u+iUdxzi; 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 S1728980AbgIVFxO (ORCPT + 99 others); Tue, 22 Sep 2020 01:53:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726488AbgIVFxO (ORCPT ); Tue, 22 Sep 2020 01:53:14 -0400 Received: from mail-oi1-x244.google.com (mail-oi1-x244.google.com [IPv6:2607:f8b0:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCF1FC061755 for ; Mon, 21 Sep 2020 22:53:13 -0700 (PDT) Received: by mail-oi1-x244.google.com with SMTP id m7so19840477oie.0 for ; Mon, 21 Sep 2020 22:53:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=rj2KbrP8wDZHh7cva4yvY3TOcqZLJGweHnZrrr56Tas=; b=u+iUdxziFYUXXIs1aAqLKK5bC0JUncRoDRqo+fL11mZ37Ha6MX72UFkY+p4FBfLyxh zc00OHlQ+bY0vgqZB3XzRj+CyCwhquUofnrXhKsX1S9T4TGV313nL6TGQUrf9iB+4y0L qKilbf2LjFsSE+GBXwLaCPPWfaPIz+XwsVZW+erBJJJCxCyW0orCiGUR+rVyLV9p6ngN ruJWdxUGqQqpjFrm3baZ2BUfkIFeFHvnOlilwP0WSuWAvU/ObFzb1qIUAza1heNknuAp m/eSdALJmQq9lY6eqfsyysc0OvHuFaKfoqDoa1UnNwMlplj+jY2SFo43oDxYG3zQvblU 7P5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=rj2KbrP8wDZHh7cva4yvY3TOcqZLJGweHnZrrr56Tas=; b=nWPEY4WHvNBNo7+9hKwYhYd/ht/tSRUzjyie4cSdBOt1HXyDpWFvgS3vLuvpBzx00F MN9ONC6jzHBjsUtnaIZaKg/0HGZvmJucScXh61xiDguM8zrNAt+i84fBSkeiajx1WbXa 8oD1Bj6aavycqyViAikcYy3JzKTHaMYtBtqWgz7jCAEZ4RZ39p8rFIIBsxzsgMMephCl SK1ntNjB677MLXKoByRzwKiki/eZEzOIF+qKk9jqKJ5QscncsXIEzxjv1LQINcgdFWUN Ft/Zxb9U0e3bsSmZHVQIgheQ+E1AdI4BDXU92jnkMULJVKU2JcuVkVa/XXrQY5QN82/5 +jfg== X-Gm-Message-State: AOAM532UJ9FDmDnFXEGf48uj7BQdj2JXYcB8W4/0oLx5bMIbNIfpZ92j XMWodb5PmZH7mbLqcjN1JAIGbg== X-Received: by 2002:aca:55c5:: with SMTP id j188mr1749314oib.138.1600753992827; Mon, 21 Sep 2020 22:53:12 -0700 (PDT) Received: from eggly.attlocal.net (172-10-233-147.lightspeed.sntcca.sbcglobal.net. [172.10.233.147]) by smtp.gmail.com with ESMTPSA id f50sm6777567otf.47.2020.09.21.22.53.10 (version=TLS1 cipher=ECDHE-ECDSA-AES128-SHA bits=128/128); Mon, 21 Sep 2020 22:53:11 -0700 (PDT) Date: Mon, 21 Sep 2020 22:53:09 -0700 (PDT) From: Hugh Dickins X-X-Sender: hugh@eggly.anvils To: Alex Shi cc: akpm@linux-foundation.org, mgorman@techsingularity.net, tj@kernel.org, hughd@google.com, khlebnikov@yandex-team.ru, daniel.m.jordan@oracle.com, willy@infradead.org, hannes@cmpxchg.org, lkp@intel.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, shakeelb@google.com, iamjoonsoo.kim@lge.com, richard.weiyang@gmail.com, kirill@shutemov.name, alexander.duyck@gmail.com, rong.a.chen@intel.com, mhocko@suse.com, vdavydov.dev@gmail.com, shy828301@gmail.com Subject: Re: [PATCH v18 24/32] mm/pgdat: remove pgdat lru_lock In-Reply-To: <1598273705-69124-25-git-send-email-alex.shi@linux.alibaba.com> Message-ID: References: <1598273705-69124-1-git-send-email-alex.shi@linux.alibaba.com> <1598273705-69124-25-git-send-email-alex.shi@linux.alibaba.com> User-Agent: Alpine 2.11 (LSU 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 24 Aug 2020, Alex Shi wrote: > Now pgdat.lru_lock was replaced by lruvec lock. It's not used anymore. > > Signed-off-by: Alex Shi > Reviewed-by: Alexander Duyck I don't take pleasure in spoiling your celebrations and ceremonies, but I strongly agree with AlexD that this should simply be merged into the big one, 20/32. That can be ceremony enough. > Cc: Andrew Morton > Cc: Konstantin Khlebnikov > Cc: Hugh Dickins > Cc: Johannes Weiner > Cc: linux-mm@kvack.org > Cc: linux-kernel@vger.kernel.org > Cc: cgroups@vger.kernel.org > --- > include/linux/mmzone.h | 1 - > mm/page_alloc.c | 1 - > 2 files changed, 2 deletions(-) > > diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h > index f0596e634863..0ed520954843 100644 > --- a/include/linux/mmzone.h > +++ b/include/linux/mmzone.h > @@ -758,7 +758,6 @@ struct deferred_split { > > /* Write-intensive fields used by page reclaim */ > ZONE_PADDING(_pad1_) > - spinlock_t lru_lock; > > #ifdef CONFIG_DEFERRED_STRUCT_PAGE_INIT > /* > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > index fab5e97dc9ca..775120fcc869 100644 > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -6733,7 +6733,6 @@ static void __meminit pgdat_init_internals(struct pglist_data *pgdat) > init_waitqueue_head(&pgdat->pfmemalloc_wait); > > pgdat_page_ext_init(pgdat); > - spin_lock_init(&pgdat->lru_lock); > lruvec_init(&pgdat->__lruvec); > } > > -- > 1.8.3.1