From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4F31DC433E0 for ; Thu, 21 Jan 2021 18:43:48 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 81A9922A83 for ; Thu, 21 Jan 2021 18:43:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 81A9922A83 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 419AD6B0006; Thu, 21 Jan 2021 13:43:45 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 3A28B6B0007; Thu, 21 Jan 2021 13:43:45 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 291AE6B0008; Thu, 21 Jan 2021 13:43:45 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0200.hostedemail.com [216.40.44.200]) by kanga.kvack.org (Postfix) with ESMTP id 0F4676B0006 for ; Thu, 21 Jan 2021 13:43:45 -0500 (EST) Received: from smtpin12.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id C17DF8249980 for ; Thu, 21 Jan 2021 18:43:44 +0000 (UTC) X-FDA: 77730655968.12.war51_0d0c48427565 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin12.hostedemail.com (Postfix) with ESMTP id A2C1D1803593D for ; Thu, 21 Jan 2021 18:43:44 +0000 (UTC) X-HE-Tag: war51_0d0c48427565 X-Filterd-Recvd-Size: 3053 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf22.hostedemail.com (Postfix) with ESMTP for ; Thu, 21 Jan 2021 18:43:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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; bh=dXcuDwvoqNoP4NL97KSkxgI2xxt79APfMRyPL3XfbG4=; b=s8qAsrChiHJHM3e3dm+Vil913r dsMYbj166wZ3MpqLY+lsTacSlh2CTq9KkKqwFaHcZpC17BHXPuzd62jFoERqLi6ERZkT0xN77hXjK 3C2UoQG5n/LvSXDuQRPTizobQpPuwbY+hHicZiAZ9nMcpLqRMmFUPe/JBO2P3ixS5RbGroU3k5JU3 /33PnsOo/KwcCYoP0jDuQJiK53heCH54L+cJZE2pkPGAbgyKKJjUb6dcZJWaLxZhfsGWUmeuXt1lp KN6km+XZtR3BeZOxA2ApjF+YIdqnMOnA6Gnr05Au2mmAkwGGo8/zKvo1Qpbq7JRuqYquNWJr3EBYv LPrw3nBg==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1l2eve-00HOCt-9F; Thu, 21 Jan 2021 18:43:35 +0000 Date: Thu, 21 Jan 2021 18:43:34 +0000 From: Matthew Wilcox To: Andrew Morton , linux-mm@kvack.org Cc: linux-fsdevel@vger.kernel.org, linux-nvdimm@lists.01.org Subject: Re: [PATCH v2 0/4] Remove nrexceptional tracking Message-ID: <20210121184334.GA4127393@casper.infradead.org> References: <20201026151849.24232-1-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201026151849.24232-1-willy@infradead.org> X-Bogosity: Ham, tests=bogofilter, spamicity=0.000279, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Ping? These patches still apply to next-20210121. On Mon, Oct 26, 2020 at 03:18:45PM +0000, Matthew Wilcox (Oracle) wrote: > We actually use nrexceptional for very little these days. It's a minor > pain to keep in sync with nrpages, but the pain becomes much bigger > with the THP patches because we don't know how many indices a shadow > entry occupies. It's easier to just remove it than keep it accurate. > > Also, we save 8 bytes per inode which is nothing to sneeze at; on my > laptop, it would improve shmem_inode_cache from 22 to 23 objects per > 16kB, and inode_cache from 26 to 27 objects. Combined, that saves > a megabyte of memory from a combined usage of 25MB for both caches. > Unfortunately, ext4 doesn't cross a magic boundary, so it doesn't save > any memory for ext4. > > Matthew Wilcox (Oracle) (4): > mm: Introduce and use mapping_empty > mm: Stop accounting shadow entries > dax: Account DAX entries as nrpages > mm: Remove nrexceptional from inode > > fs/block_dev.c | 2 +- > fs/dax.c | 8 ++++---- > fs/gfs2/glock.c | 3 +-- > fs/inode.c | 2 +- > include/linux/fs.h | 2 -- > include/linux/pagemap.h | 5 +++++ > mm/filemap.c | 16 ---------------- > mm/swap_state.c | 4 ---- > mm/truncate.c | 19 +++---------------- > mm/workingset.c | 1 - > 10 files changed, 15 insertions(+), 47 deletions(-) > > -- > 2.28.0 >