]> git.baikalelectronics.ru Git - kernel.git/commit
mm: stop accounting shadow entries
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 5 May 2021 01:32:48 +0000 (18:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 5 May 2021 18:27:19 +0000 (11:27 -0700)
commit442bcd5225fe27b2e96e140f059336c3e9f55cc1
tree713adb555aa4835131938869e7fcc77d206cd132
parenta2e91e544ab373c312107ed49523ed2bb832cf53
mm: stop accounting shadow entries

We no longer need to keep track of how many shadow entries are present in
a mapping.  This saves a few writes to the inode and memory barriers.

Link: https://lkml.kernel.org/r/20201026151849.24232-3-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>
mm/filemap.c
mm/swap_state.c
mm/truncate.c
mm/workingset.c