From: Alex Shi Subject: Re: [PATCH v3 1/7] mm/lru: add per lruvec lock for memcg Date: Mon, 18 Nov 2019 10:44:57 +0800 Message-ID: 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: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="utf-8" To: Shakeel Butt Cc: Cgroups , LKML , Linux MM , Andrew Morton , Mel Gorman , Tejun Heo , Hugh Dickins , Konstantin Khlebnikov , Daniel Jordan , Yang Shi , Matthew Wilcox , Vlastimil Babka , Dan Williams , Michal Hocko , Wei Yang , Johannes Weiner , Arun KS 在 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? Thanks Alex