From: akpm@linux-foundation.org Subject: [merged] fs-fuse-account-fuse_inode-slab-memory-as-reclaimable.patch removed from -mm tree Date: Thu, 16 Nov 2017 12:04:56 -0800 Message-ID: <20171116200456.iya5g9IWk%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:47516 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933284AbdKPUE5 (ORCPT ); Thu, 16 Nov 2017 15:04:57 -0500 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: hannes@cmpxchg.org, mm-commits@vger.kernel.org, mszeredi@redhat.com The patch titled Subject: fs: fuse: account fuse_inode slab memory as reclaimable has been removed from the -mm tree. Its filename was fs-fuse-account-fuse_inode-slab-memory-as-reclaimable.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Johannes Weiner Subject: fs: fuse: account fuse_inode slab memory as reclaimable Fuse inodes are currently included in the unreclaimable slab counts - SUnreclaim in /proc/meminfo, slab_unreclaimable in /proc/vmstat and the per-cgroup memory.stat. But they are reclaimable just like other filesystems' inodes, and /proc/sys/vm/drop_caches frees them easily. Mark the slab cache reclaimable. Link: http://lkml.kernel.org/r/20171102202727.12539-1-hannes@cmpxchg.org Signed-off-by: Johannes Weiner Cc: Miklos Szeredi Signed-off-by: Andrew Morton --- fs/fuse/inode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -puN fs/fuse/inode.c~fs-fuse-account-fuse_inode-slab-memory-as-reclaimable fs/fuse/inode.c --- a/fs/fuse/inode.c~fs-fuse-account-fuse_inode-slab-memory-as-reclaimable +++ a/fs/fuse/inode.c @@ -1273,9 +1273,9 @@ static int __init fuse_fs_init(void) int err; fuse_inode_cachep = kmem_cache_create("fuse_inode", - sizeof(struct fuse_inode), 0, - SLAB_HWCACHE_ALIGN|SLAB_ACCOUNT, - fuse_inode_init_once); + sizeof(struct fuse_inode), 0, + SLAB_HWCACHE_ALIGN|SLAB_ACCOUNT|SLAB_RECLAIM_ACCOUNT, + fuse_inode_init_once); err = -ENOMEM; if (!fuse_inode_cachep) goto out; _ Patches currently in -mm which might be from hannes@cmpxchg.org are