Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp4100598ybl; Tue, 20 Aug 2019 07:03:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqxgpSiQIdPNXNnbSkUJtG3cpNMQzJmOS05M0y+YBIsgnDr+32uMas6NY3ESsw3F03qUCCxu X-Received: by 2002:a17:90a:a40f:: with SMTP id y15mr123993pjp.69.1566309805961; Tue, 20 Aug 2019 07:03:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566309805; cv=none; d=google.com; s=arc-20160816; b=et2eiXlRVoBf/+9ERXXf0Be2Ltsf8EMiyI8euNkOEXd+mKb42orlmMCUu/U8CBCaSF Dk77OzFlAlWqCRbJ6QIN97QrM4DIC5OjX1/3cBQ8D44Qg98BosuAitH3kZBy8im99Pgv hZ266OfYArWMgUnQeWOLjn9yLCTMPfHAMCsH+1OBWNOXX3/azvsw5uUP5/t8dMzXp5fd +Z0otzCef3mVXJp1WxS3f75ThtwbfcrYQ8BMBo/dQbIrV2mpSpTi+hD66r9neA90aTL/ q0k7kNZ/t4vRyQkpFjGdRfVC/L/GGtO8vCiuUbE8PSuYnrfqz1rWUffnS3jYoi5yGxml FgEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=TWRaZEAnHrNRlH8ifo3ZQD1iiyxnRF/NRhravPIs25c=; b=srfBFrg8Y8fc6h9mFIoVoerIiCt/C5oX9EydwTGnwr6tzxDyj1WEHGyTOay+P+6MWn 09WVrjC61NZ+/txh4Rf/DvIaLVQQS6BAZIUekrb8pDR3Cx5X8BFT5Q8fGkeLghu6TgSQ uq1ouPWfNd5QtU1fn17ikk1kHF8OiQa74r0AgoXDidlpy1AdxHOq/pJWF5+eRtAD4X/N vtp+vwRciZsEAibuW19sCrcQOZgzhPvaXjJZEo/HjImUOl07U6c9jy+hlxeZpfMSV7T5 /ClY8Nq1t1WBio18fvf6Wn3JO6uiMDDDHhVJhoMmORzCZSGGdO2cPPMuDSSr3qhW/V+t LcTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ooeAB8Xe; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z62si11950277pgd.472.2019.08.20.07.03.00; Tue, 20 Aug 2019 07:03:25 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ooeAB8Xe; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730255AbfHTOAX (ORCPT + 99 others); Tue, 20 Aug 2019 10:00:23 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:50266 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729930AbfHTOAW (ORCPT ); Tue, 20 Aug 2019 10:00:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding: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=TWRaZEAnHrNRlH8ifo3ZQD1iiyxnRF/NRhravPIs25c=; b=ooeAB8XeFx9mkV2wPTzJifUFx pwnZtTMR71QaoAV8FOdoBxW7MNR4Mz1zwoow92gi4p/SdNJR06JiZfl/mjclbj93gBZsxfiAayZHV JKTp+WGmnFvobB47nn2zHVTG6mKwGQvTt+GVwvR9fi4sJE01o/IStNzFyiuOfyWafDq7PDwDHSPFB XUzKT3HFjvdiIA9IHiCz457fuEkDJRoQZT3gg+Ue3jstT0SAnx2JG1ynaxg/ADd5zYr8+0xJmPe7c RO4mgPibT3qwx/z9KDiaY7OG5OVPxGNbWqKoz8pw/RpP6nItpEsVzU412On0kN7wv+pJ69t9aKbGL esejxAqyw==; Received: from willy by bombadil.infradead.org with local (Exim 4.92 #3 (Red Hat Linux)) id 1i04gN-00068l-V4; Tue, 20 Aug 2019 14:00:19 +0000 Date: Tue, 20 Aug 2019 07:00:19 -0700 From: Matthew Wilcox To: Alex Shi Cc: cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Andrew Morton , Mel Gorman , Tejun Heo , Jason Gunthorpe , Dan Williams , Vlastimil Babka , Ira Weiny , Jesper Dangaard Brouer , Andrey Ryabinin , Jann Horn , Logan Gunthorpe , Souptick Joarder , Ralph Campbell , "Tobin C. Harding" , Michal Hocko , Oscar Salvador , Wei Yang , Johannes Weiner , Pavel Tatashin , Arun KS , "Darrick J. Wong" , Amir Goldstein , Dave Chinner , Josef Bacik , "Kirill A. Shutemov" , =?iso-8859-1?B?Suly9G1l?= Glisse , Mike Kravetz , Hugh Dickins , Kirill Tkhai , Daniel Jordan , Yafang Shao , Yang Shi Subject: Re: [PATCH 14/14] mm/lru: fix the comments of lru_lock Message-ID: <20190820140019.GB24642@bombadil.infradead.org> References: <1566294517-86418-1-git-send-email-alex.shi@linux.alibaba.com> <1566294517-86418-15-git-send-email-alex.shi@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1566294517-86418-15-git-send-email-alex.shi@linux.alibaba.com> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 20, 2019 at 05:48:37PM +0800, Alex Shi wrote: > @@ -159,7 +159,7 @@ static inline bool free_area_empty(struct free_area *area, int migratetype) > struct pglist_data; > > /* > - * zone->lock and the zone lru_lock are two of the hottest locks in the kernel. > + * zone->lock and the lru_lock are two of the hottest locks in the kernel. > * So add a wild amount of padding here to ensure that they fall into separate > * cachelines. There are very few zone structures in the machine, so space > * consumption is not a concern here. But after this patch series, the lru lock is no longer stored in the zone. So this comment makes no sense. > @@ -295,7 +295,7 @@ struct zone_reclaim_stat { > > struct lruvec { > struct list_head lists[NR_LRU_LISTS]; > - /* move lru_lock to per lruvec for memcg */ > + /* perf lruvec lru_lock for memcg */ What does the word 'perf' mean here?