From: Alex Shi Subject: Re: [PATCH v3 2/7] mm/lruvec: add irqsave flags into lruvec struct Date: Mon, 18 Nov 2019 10:52:40 +0800 Message-ID: References: <1573874106-23802-1-git-send-email-alex.shi@linux.alibaba.com> <1573874106-23802-3-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 , Rong Chen 在 2019/11/16 下午2:31, Shakeel Butt 写道: > On Fri, Nov 15, 2019 at 7:15 PM Alex Shi wrote: >> We need a irqflags vaiable to save state when do irqsave action, declare >> it here would make code more clear/clean. >> >> Rong Chen reported the 'irqflags' variable need >> move to the tail of lruvec struct otherwise it causes 18% regressions of >> vm-scalability testing on his machine. So add the flags and lru_lock to >> both near struct tail, even I have no clue of this perf losing. > Regressions compared to what? Also no need to have a separate patch. > Thanks for question, Shakeel, I will change the commit log and mention the original place: the head of lruvec struct. As to the folding, the 3rd is already toooo long. May I leave it here to relief a littel bit burden on reading? Thanks Alex