WSL2-Linux-Kernel/fs/gfs2
Matthew Wilcox (Oracle) 7716506ada mm: introduce and use mapping_empty()
Patch series "Remove nrexceptional tracking", v2.

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.

This patch (of 4):

Instead of checking the two counters (nrpages and nrexceptional), we can
just check whether i_pages is empty.

Link: https://lkml.kernel.org/r/20201026151849.24232-1-willy@infradead.org
Link: https://lkml.kernel.org/r/20201026151849.24232-2-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Tested-by: Vishal Verma <vishal.l.verma@intel.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-05-05 11:27:19 -07:00
..
Kconfig
Makefile
acl.c
acl.h
aops.c gfs2: Fix a number of kernel-doc warnings 2021-04-09 22:14:13 +02:00
aops.h
bmap.c gfs2: Fix a number of kernel-doc warnings 2021-04-09 22:14:13 +02:00
bmap.h gfs2: Replace gfs2_lblk_to_dblk with gfs2_get_extent 2021-04-03 21:38:12 +02:00
dentry.c
dir.c gfs2: Turn gfs2_extent_map into gfs2_{get,alloc}_extent 2021-04-03 21:38:11 +02:00
dir.h
export.c
file.c Changes in gfs2: 2021-04-29 10:33:35 -07:00
gfs2.h
glock.c mm: introduce and use mapping_empty() 2021-05-05 11:27:19 -07:00
glock.h
glops.c Changes in gfs2: 2021-04-29 10:33:35 -07:00
glops.h
incore.h gfs2: Remove unused variable sb_format 2021-04-03 21:38:11 +02:00
inode.c Changes in gfs2: 2021-04-29 10:33:35 -07:00
inode.h Changes in gfs2: 2021-04-29 10:33:35 -07:00
lock_dlm.c gfs2: Fix a number of kernel-doc warnings 2021-04-09 22:14:13 +02:00
log.c Changes in gfs2: 2021-04-29 10:33:35 -07:00
log.h
lops.c Changes in gfs2: 2021-04-29 10:33:35 -07:00
lops.h
main.c
meta_io.c gfs2: Fix a number of kernel-doc warnings 2021-04-09 22:14:13 +02:00
meta_io.h gfs2: Turn gfs2_meta_indirect_buffer into gfs2_meta_buffer 2021-04-03 21:38:12 +02:00
ops_fstype.c gfs2: Fix a number of kernel-doc warnings 2021-04-09 22:14:13 +02:00
quota.c gfs2: Fix a number of kernel-doc warnings 2021-04-09 22:14:13 +02:00
quota.h
recovery.c gfs2: Fix fall-through warnings for Clang 2021-04-20 22:38:21 +02:00
recovery.h
rgrp.c gfs2: Fix a number of kernel-doc warnings 2021-04-09 22:14:13 +02:00
rgrp.h
super.c gfs2: Fix a number of kernel-doc warnings 2021-04-09 22:14:13 +02:00
super.h
sys.c gfs2: Add new sysfs file for gfs2 status 2021-04-08 15:07:21 +02:00
sys.h
trace_gfs2.h
trans.c
trans.h
util.c gfs2: Fix a number of kernel-doc warnings 2021-04-09 22:14:13 +02:00
util.h
xattr.c gfs2: Fix a number of kernel-doc warnings 2021-04-09 22:14:13 +02:00
xattr.h