Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp474089ybc; Tue, 19 Nov 2019 04:27:02 -0800 (PST) X-Google-Smtp-Source: APXvYqxv0s3mVeU4lZPqTkACpei0ib0xtBv/i7cA4R/ArYpQjip0S834Iio8eLvMHr0vqXbACC8L X-Received: by 2002:a17:906:1f98:: with SMTP id t24mr6322092ejr.143.1574166422368; Tue, 19 Nov 2019 04:27:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574166422; cv=none; d=google.com; s=arc-20160816; b=gOUIvTVpTMOStbWpHVo87MZNo3R82XEOnX4HgHgIIZT+wzJGpGXX2VddlLvYzls5tP 78c+4dvj/4wMo5lh7HmMhUHgG4kkR8fFy4CvbHHNwCR2avduTeHzdrA5qRK6B7JegDA/ bkNXQXOCSVzs5yN2HDoR8Vs6N9DnELey77mdyja86kqsCZlDxERsOePRe0u24ELHLH59 Ql3G3+E+EuhRwMX62wdvuyDUfqwb7V5z7OXddALd1i9R/ZLv2P1+5i57JarP/k+KD6pb AhhFnWDRLDFc59LZ61F5SBXffSoGR42XxdTsHo59O9vgo4H4SBeL8nwdIZqH3akvqMUV RFkg== 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=J522SzRxn/qS5eNbUs+ekNEpYU6kzwIIGdSi0UVOg8c=; b=TRgZTFllBLYgi1t+YlmdYBmT0xOK8xzpv2aY/JSKqzG49pPr4cUFlO7QY4z6LlzcYz G1y6hUmnZCP6JWOo1paoodKYqNX0XXuO6CbYXWQ1J5wxciWM9am23Jd9/Ij/TiJf+cK+ 2Sa//BEbhpQ4sgGn83i2XAT4Km8RF9e8DEGav3mjAIWHpQ50Ph9JU/kefnzwg5ml1c2d ZXItImP0Zwyv/O8aanJax6mLJOMyhkCEHF42uu7W1bClt/DvwHHAqh01T4zGylKEEadJ rEBdR7KOppHpcc225xuZ506osIB+b0qmA3PAbGVeFQITCVPxc4iSfmkW6GSKV+WmghWo OmMw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i26si14189031edy.197.2019.11.19.04.26.38; Tue, 19 Nov 2019 04:27:02 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728128AbfKSMYp (ORCPT + 99 others); Tue, 19 Nov 2019 07:24:45 -0500 Received: from out30-57.freemail.mail.aliyun.com ([115.124.30.57]:34299 "EHLO out30-57.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727888AbfKSMYP (ORCPT ); Tue, 19 Nov 2019 07:24:15 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R711e4;CH=green;DM=||false|;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04420;MF=alex.shi@linux.alibaba.com;NM=1;PH=DS;RN=24;SR=0;TI=SMTPD_---0TiYlW0P_1574166247; Received: from localhost(mailfrom:alex.shi@linux.alibaba.com fp:SMTPD_---0TiYlW0P_1574166247) by smtp.aliyun-inc.com(127.0.0.1); Tue, 19 Nov 2019 20:24:07 +0800 From: Alex Shi To: cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, 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, shakeelb@google.com, hannes@cmpxchg.org Cc: Alex Shi , Vlastimil Babka , Dan Williams , Michal Hocko , Wei Yang , Arun KS , Oscar Salvador , Mike Rapoport , Alexander Duyck , Pavel Tatashin , Alexander Potapenko Subject: [PATCH v4 7/9] mm/pgdat: remove pgdat lru_lock Date: Tue, 19 Nov 2019 20:23:21 +0800 Message-Id: <1574166203-151975-8-git-send-email-alex.shi@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1574166203-151975-1-git-send-email-alex.shi@linux.alibaba.com> References: <1574166203-151975-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: Vlastimil Babka Cc: Dan Williams Cc: Michal Hocko Cc: Mel Gorman Cc: Wei Yang Cc: Arun KS Cc: Oscar Salvador Cc: Mike Rapoport Cc: Alexander Duyck Cc: Pavel Tatashin Cc: Alexander Potapenko Cc: Konstantin Khlebnikov Cc: Hugh Dickins Cc: Johannes Weiner Cc: Tejun Heo 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 a13b8a602ee5..a9334c8d42c8 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -734,7 +734,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 f5ecbacb0e04..e8f2c8f755f4 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -6803,7 +6803,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