Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp77495pxa; Mon, 3 Aug 2020 23:25:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4CURh/jIrC53nzNGyNY+5AZ3JUe24kP1HtKOUTABfbFh5AOMXtoA8AkDmA3mM7ztNbiYk X-Received: by 2002:a50:cf09:: with SMTP id c9mr19713419edk.90.1596522351797; Mon, 03 Aug 2020 23:25:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596522351; cv=none; d=google.com; s=arc-20160816; b=hRQ7TxYJ3jxu0E15WwDEAhim9knBTzICTGnvsjVHhvxcjAHWK8mxlhduZ76UnhxDWK UfoAKYGlx34lDE8s/ajyOBpjtAEb2uFsmloNqoY5PisKiQLP9SGmgxE0sB+LRfkNojIU 0n42vYMKxykWSg7VnyK+AfXM8KTXJ1eapp7Ud3j+qOi9d9PxiqhiNLdIGgdo3JohzYcJ lcffSi1Dg0piEf3PGgkp94Mgy04X9pyDAG2tt/r/fgec/sPKgLftSj4UCV2et5A/TiDU drFEWEo96TMP0Kh8IT25KXiJ9PJydhcDAmbwyrcNFH1wFZ5OCd4oRn+VW3R14/GvNlHw 1kgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=VaTzULzSoVaCh+bYGZAsriORj8VZjaUiucWJKE4hALE=; b=exExDl3btbPpR+/RyDa5r/f4LSKYeiHbcg2fIYqNYKWBP3JrEDbHZ8dGWBZUkFEeUU SWD7E+kvulHkR843AO77heCuH1yHFoLpO3O6GtNcXLfvtrHrBI94mpktsRlnzODzPQ+b GT921OCitJmQaXjzUfAKyPTuvJvPykPbn+65RP2YYGjS3SrL7C9A/Kzi48cyBfNZwyUo gG3ZfIc5qPORJbaxTExAKZhu8aYIZWuq9XjI2YBtDi3+VLFVOD9Hckl/CJ2bDSKy+zC/ aZYa91cmEHv/3VDHacz1llpF/CHBHOU3JjRJTC2bTpHr9CffKx21mEj0UZiyOzxDRwyf Y1EA== 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 z25si11442157ejr.598.2020.08.03.23.25.27; Mon, 03 Aug 2020 23:25:51 -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 S1728695AbgHDGWy (ORCPT + 99 others); Tue, 4 Aug 2020 02:22:54 -0400 Received: from out4436.biz.mail.alibaba.com ([47.88.44.36]:65424 "EHLO out4436.biz.mail.alibaba.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727076AbgHDGWy (ORCPT ); Tue, 4 Aug 2020 02:22:54 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R291e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04394;MF=alex.shi@linux.alibaba.com;NM=1;PH=DS;RN=19;SR=0;TI=SMTPD_---0U4j3PBv_1596522158; Received: from IT-FVFX43SYHV2H.local(mailfrom:alex.shi@linux.alibaba.com fp:SMTPD_---0U4j3PBv_1596522158) by smtp.aliyun-inc.com(127.0.0.1); Tue, 04 Aug 2020 14:22:39 +0800 Subject: Re: [PATCH v17 20/21] mm/pgdat: remove pgdat lru_lock To: Alexander Duyck Cc: Andrew Morton , Mel Gorman , Tejun Heo , Hugh Dickins , Konstantin Khlebnikov , Daniel Jordan , Yang Shi , Matthew Wilcox , Johannes Weiner , kbuild test robot , linux-mm , LKML , cgroups@vger.kernel.org, Shakeel Butt , Joonsoo Kim , Wei Yang , "Kirill A. Shutemov" , Rong Chen References: <1595681998-19193-1-git-send-email-alex.shi@linux.alibaba.com> <1595681998-19193-21-git-send-email-alex.shi@linux.alibaba.com> From: Alex Shi Message-ID: Date: Tue, 4 Aug 2020 14:22:22 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2020/8/4 上午6:45, Alexander Duyck 写道: > Just to correct a typo, I meant patch 17, not 18. in the comment below. > > > On Mon, Aug 3, 2020 at 3:42 PM Alexander Duyck > wrote: >> >> On Sat, Jul 25, 2020 at 6:00 AM Alex Shi wrote: >>> >>> 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 >> >> I really think this would be better just squashed into patch 18 >> instead of as a standalone patch since you were moving all of the >> locking anyway so it would be more likely to trigger build errors if >> somebody didn't move a lock somewhere that was referencing this. Thanks for comments! If someone changed the lru_lock between patch 17 and this, it would cause more troubles then build error here. :) so don't warries for that. But on the other side, I am so insist to have a ceremony to remove this lock... >> >> That said this change is harmless at this point. >> >> Reviewed-by: Alexander Duyck Thanks a lot for review!