Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp335287ybm; Thu, 28 May 2020 04:08:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynvDWr5xmq3IRxVk2gIZtQZqmKMXFkXy5dbjmpcdSI+VCdIhJcnwrqJ8Y7pBLtFmZeAnE6 X-Received: by 2002:a50:d785:: with SMTP id w5mr2456379edi.212.1590664130683; Thu, 28 May 2020 04:08:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590664130; cv=none; d=google.com; s=arc-20160816; b=JLJdshrzrgZxCvlrtrGY43waDGvqUDmNUYeXRsdaJaCmg59XIUH+I/0m4YlEpF+B3g vtyxQxxzO3Gfm2/sxth27s3KtYtOZ+1CeuiVeNJEaBltuM9QQP7f20pmxpGMhuf50Lbx kcuovCXD19FDQuLpxy1pnxJAx4yWYS3u2xYSzllm3Hi3qbqXU0uE5v4eep0GDMB0LyNO Kn7xr84c3vv+jGCoGLfkeHm5rfTpEZopQ2HFSbY7FXdyf8iqeAKZgyHzUbCuqjVuq5g1 pDDbnS60zBXSY4O4XbuclFQezAPFO8mA7JmzxL7odcbpQdLnghXy+tQE8oCwx8gl4RTH v0Mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=qQeuY6v16yZG/eEcTceLjfEnqwaNFXL3oP2vZ4NfdLg=; b=pzwZWUNsSZ1p3pVcDlb7Ql+xx52zuleK79PwbehJ76xBpOVvvm1G5i8Gw8gU/yZ5oa n0Q6AeEsdiiPX97lwwyk4ivXS7WDEIi9dG0aZeke95nxIgTF43VHWVQPvegnbsP7hU3C 4oIXo8XQFCssSyP5d28+qXErBzsM4fBsK7mF93VPtP47CV/Nr0XT3eB5n6m2saxWMetA WR1WSqyErAobjWy723q/pAudnqs3HqSLS1GYiCjalkpmxqQhy5rzE69SLKw63ibVmdbR +H2mxe2912jXvGY0esc0Ot2P7i2E29YqoAVanuDJEvgJV33pOYRWJh3h1c2N4Hohyy2n CXeA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y7si3502476edp.92.2020.05.28.04.08.27; Thu, 28 May 2020 04:08:50 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388244AbgE1LCo (ORCPT + 99 others); Thu, 28 May 2020 07:02:44 -0400 Received: from out30-57.freemail.mail.aliyun.com ([115.124.30.57]:46285 "EHLO out30-57.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388207AbgE1LCe (ORCPT ); Thu, 28 May 2020 07:02:34 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R821e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04407;MF=alex.shi@linux.alibaba.com;NM=1;PH=DS;RN=17;SR=0;TI=SMTPD_---0TztNb5w_1590663691; Received: from localhost(mailfrom:alex.shi@linux.alibaba.com fp:SMTPD_---0TztNb5w_1590663691) by smtp.aliyun-inc.com(127.0.0.1); Thu, 28 May 2020 19:01:31 +0800 From: Alex Shi To: akpm@linux-foundation.org, mgorman@techsingularity.net, tj@kernel.org, hughd@google.com, khlebnikov@yandex-team.ru, daniel.m.jordan@oracle.com, yang.shi@linux.alibaba.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 Cc: Alex Shi Subject: [PATCH v11 15/16] mm/pgdat: remove pgdat lru_lock Date: Thu, 28 May 2020 19:00:57 +0800 Message-Id: <1590663658-184131-16-git-send-email-alex.shi@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1590663658-184131-1-git-send-email-alex.shi@linux.alibaba.com> References: <1590663658-184131-1-git-send-email-alex.shi@linux.alibaba.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now pgdat.lru_lock was replaced by lruvec lock. It's not used anymore. Signed-off-by: Alex Shi 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 d70a12214936..42e646f7f30d 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -733,7 +733,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 79a3a6d62532..30081dc0cc15 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -6765,7 +6765,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