From: Matthew Wilcox Subject: Re: [PATCH v3 1/7] mm/lru: add per lruvec lock for memcg Date: Mon, 18 Nov 2019 04:08:15 -0800 Message-ID: <20191118120815.GF20752@bombadil.infradead.org> References: <1573874106-23802-1-git-send-email-alex.shi@linux.alibaba.com> <1573874106-23802-2-git-send-email-alex.shi@linux.alibaba.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=uDdb1pDQwvx9Enh6ck9uQZEmy8t5nOmH+npUrGwmKoQ=; b=dj69PrK6hU4uhSbtILOtORwkvu UAgJ+yWIn/iS73f9ZnAWCaz2MFOgeOuHEStFzo4rl7J+/wsatvvBmtKULnSF2Ejpa7ZSpaAp7ypI9 Vt5/5Q4kaTewk9aWxTGYMYyu7v7MhSkeiLZH+ozs5uiCNSkLZjBDQhRScA+3Xbpd333jKFOdfHRj8 IEgNblIgLp45dLlPRoMWLjHA4HV+lZF1iWo7wjnShIljDnlZe/ymlAdgZDscXZPwGY46pDcp0vLzz BWy+4JYokBqrwj0RmN3gSnXWmKyioPvQyycQkt07R91jxw46AkvEn1mrlY02WsoGyaKUq2yvVs3l5 Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="utf-8" To: Alex Shi Cc: Shakeel Butt , Cgroups , LKML , Linux MM , Andrew Morton , Mel Gorman , Tejun Heo , Hugh Dickins , Konstantin Khlebnikov , Daniel Jordan , Yang Shi , Vlastimil Babka , Dan Williams , Michal Hocko , Wei Yang , Johannes Weiner , Arun KS On Mon, Nov 18, 2019 at 10:44:57AM +0800, Alex Shi wrote: > > > 在 2019/11/16 下午2:28, Shakeel Butt 写道: > > On Fri, Nov 15, 2019 at 7:15 PM Alex Shi wrote: > >> > >> Currently memcg still use per node pgdat->lru_lock to guard its lruvec. > >> That causes some lru_lock contention in a high container density system. > >> > >> If we can use per lruvec lock, that could relief much of the lru_lock > >> contention. > >> > >> The later patches will replace the pgdat->lru_lock with lruvec->lru_lock > >> and show the performance benefit by benchmarks. > > > > Merge this patch with actual usage. No need to have a separate patch. > > Thanks for comment, Shakeel! > > Yes, but considering the 3rd, huge and un-splitable patch of actully replacing, I'd rather to pull sth out from > it. Ty to make patches a bit more readable, Do you think so? This method of splitting the patches doesn't help with the reviewability of the patch series.