Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp4114715ybl; Tue, 20 Aug 2019 07:13:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqzdiFEWuHrJrAjVtfc7HQXxsvQnzPq+b0v/xDLtuesjUwyKmq12cZdMO9DaDQTEBY2Kh0Mn X-Received: by 2002:a17:90a:b00a:: with SMTP id x10mr179118pjq.113.1566310413592; Tue, 20 Aug 2019 07:13:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566310413; cv=none; d=google.com; s=arc-20160816; b=aeVwpg8FGfnMb12uhuTOtzEYtf2NgS870vgW8pD263CrgA2lGuTNmp3p5xPVaCujSj f+qNq5jK47K7VK6J1FBHKovkBeR3+pdZqHQiZVUzIkEciOT3Qodc3Bq8YsFoHoMqqtHE bWnOaBVkS9qdlrkGwoO2aEVPE+Xxf9CZyh1qKfXgTjGAQMaA/HF+QMQCygq9Ya0NurMJ jBG4IdVOqqRcKF8K5EtrbiBn3RcIbmMpY3jbRVvceCMrx7Hvm7gq1fXFwdCsyrdE526+ fgGPbo2wG/4gJGr3a3o+31UAfZ3tQkBNlns//Q86xc7xTR/j1SfLBYWCE+m1RzwbsERc q8BA== 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=WS8JrkQ8QE3D976mgrwCofVITheSyYkbSr/ufUzb+SE=; b=xOM3YfYTTWRlWK/v649rDYPbdmIJvCWcYkKuxZpHVUeTbisFTihh2X6JSQzd/67gWD iNruBs8FZwIONPld/AZHVHGaF94TFENXU8n5iewJfpbysEF1v3xPtEQTEev8lC/OK04L hVYrywo7437kt2jB3jbdVXB5U8CbNquKtzvyenwGXeor1XA4ZGDenqO3bkqKQru55ckv QrYATJgccGe2q268eG0W7E5WJYmWSPMV2L3tHGbBQb6RoWmn4v1QYPTO+r37wmmXOyvx WxfQApG9ihwn4h91QoNt1eBFiCvzM6qhvj3bkb+TT+1RD+7NxkpwAPtiUSQoH7k2r44X rH1g== 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 f29si9292117pfq.100.2019.08.20.07.13.17; Tue, 20 Aug 2019 07:13:33 -0700 (PDT) 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 S1730274AbfHTOLz (ORCPT + 99 others); Tue, 20 Aug 2019 10:11:55 -0400 Received: from out30-42.freemail.mail.aliyun.com ([115.124.30.42]:59739 "EHLO out30-42.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728248AbfHTOLu (ORCPT ); Tue, 20 Aug 2019 10:11:50 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R181e4;CH=green;DM=||false|;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e07486;MF=alex.shi@linux.alibaba.com;NM=1;PH=DS;RN=39;SR=0;TI=SMTPD_---0Ta-t.lc_1566310288; Received: from IT-FVFX43SYHV2H.local(mailfrom:alex.shi@linux.alibaba.com fp:SMTPD_---0Ta-t.lc_1566310288) by smtp.aliyun-inc.com(127.0.0.1); Tue, 20 Aug 2019 22:11:31 +0800 Subject: Re: [PATCH 01/14] mm/lru: move pgdat lru_lock into lruvec To: Matthew Wilcox Cc: cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Andrew Morton , Mel Gorman , Tejun Heo , Johannes Weiner , Michal Hocko , Vladimir Davydov , Vlastimil Babka , Dan Williams , Oscar Salvador , Wei Yang , Pavel Tatashin , Arun KS , Qian Cai , Andrey Ryabinin , "Kirill A. Shutemov" , Hugh Dickins , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Andrea Arcangeli , "Aneesh Kumar K.V" , David Rientjes , Souptick Joarder , swkhack , "Potyra, Stefan" , Mike Rapoport , Alexander Duyck , Stephen Rothwell , Colin Ian King , Jason Gunthorpe , Mauro Carvalho Chehab , Peng Fan , Ira Weiny , Kirill Tkhai , Daniel Jordan , Yafang Shao , Yang Shi References: <1566294517-86418-1-git-send-email-alex.shi@linux.alibaba.com> <1566294517-86418-2-git-send-email-alex.shi@linux.alibaba.com> <20190820134032.GA24642@bombadil.infradead.org> From: Alex Shi Message-ID: <9980292a-a073-201c-ae06-c8cdbc9f98af@linux.alibaba.com> Date: Tue, 20 Aug 2019 22:11:28 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190820134032.GA24642@bombadil.infradead.org> Content-Type: text/plain; charset=gbk Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ?? 2019/8/20 ????9:40, Matthew Wilcox ะด??: > On Tue, Aug 20, 2019 at 05:48:24PM +0800, Alex Shi wrote: >> +++ b/include/linux/mmzone.h >> @@ -295,6 +295,9 @@ struct zone_reclaim_stat { >> >> struct lruvec { >> struct list_head lists[NR_LRU_LISTS]; >> + /* move lru_lock to per lruvec for memcg */ >> + spinlock_t lru_lock; > > This comment makes no sense outside the context of this patch. > Right, Thanks for point out this. will remove it in v2. Thanks Alex