mm-remove-cleancache.patch removed from -mm tree
The patch titled
Subject: mm: remove cleancache
has been removed from the -mm tree. Its filename was
mm-remove-cleancache.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Christoph Hellwig <[email protected]>
Subject: mm: remove cleancache
Patch series "remove Xen tmem leftovers".
Since the removal of the Xen tmem driver in 2019, the cleancache hooks are entirely unused, as are large parts of frontswap. This series against linux-next (with the folio changes included) removes cleancaches, and cuts down frontswap to the bits actually used by zswap.
This patch (of 13):
The cleancache subsystem is unused since the removal of Xen tmem driver in commit 814bbf49dcd0 ("xen: remove tmem driver").
---
Documentation/vm/cleancache.rst | 296 ----------------------- Documentation/vm/frontswap.rst | 12 Documentation/vm/index.rst | 1 MAINTAINERS | 7 arch/arm/configs/bcm2835_defconfig | 1 arch/arm/configs/qcom_defconfig | 1 arch/m68k/configs/amiga_defconfig | 1 arch/m68k/configs/apollo_defconfig | 1 arch/m68k/configs/atari_defconfig | 1 arch/m68k/configs/bvme6000_defconfig | 1 arch/m68k/configs/hp300_defconfig | 1 arch/m68k/configs/mac_defconfig | 1 arch/m68k/configs/multi_defconfig | 1 arch/m68k/configs/mvme147_defconfig | 1 arch/m68k/configs/mvme16x_defconfig | 1 arch/m68k/configs/q40_defconfig | 1 arch/m68k/configs/sun3_defconfig | 1 arch/m68k/configs/sun3x_defconfig | 1 arch/s390/configs/debug_defconfig | 1 arch/s390/configs/defconfig | 1 block/bdev.c | 5 fs/btrfs/extent_io.c | 10 fs/btrfs/super.c | 2 fs/ext4/readpage.c | 6 fs/ext4/super.c | 3 fs/f2fs/data.c | 13 - fs/mpage.c | 7 fs/ntfs3/ntfs_fs.h | 1 fs/ocfs2/super.c | 2 fs/super.c | 3 include/linux/cleancache.h | 124 --------- include/linux/fs.h | 5 mm/Kconfig | 22 - mm/Makefile | 1 mm/cleancache.c | 315 ------------------------- mm/filemap.c | 11 mm/truncate.c | 15 - 37 files changed, 4 insertions(+), 873 deletions(-)
arch/arm/configs/bcm2835_defconfig renamed from arch/arm/configs/bcm2835_defconfig~mm-remove-cleancache +0 -1
@@ -31,7 +31,6 @@ CONFIG_ARCH_BCM2835=y CONFIG_PREEMPT_VOLUNTARY=y CONFIG_AEABI=y CONFIG_KSM=y -CONFIG_CLEANCACHE=y CONFIG_CMA=y CONFIG_SECCOMP=y CONFIG_KEXEC=y
arch/arm/configs/qcom_defconfig renamed from arch/arm/configs/qcom_defconfig~mm-remove-cleancache +0 -1
@@ -27,7 +27,6 @@ CONFIG_PCIE_QCOM=y CONFIG_SMP=y CONFIG_PREEMPT=y CONFIG_HIGHMEM=y -CONFIG_CLEANCACHE=y CONFIG_ARM_APPENDED_DTB=y CONFIG_ARM_ATAG_DTB_COMPAT=y CONFIG_CPU_IDLE=y
arch/m68k/configs/amiga_defconfig renamed from arch/m68k/configs/amiga_defconfig~mm-remove-cleancache +0 -1
@@ -45,7 +45,6 @@ CONFIG_IOSCHED_BFQ=m CONFIG_BINFMT_AOUT=m CONFIG_BINFMT_MISC=m # CONFIG_COMPACTION is not set -CONFIG_CLEANCACHE=y CONFIG_ZPOOL=m CONFIG_NET=y CONFIG_PACKET=y
arch/m68k/configs/apollo_defconfig renamed from arch/m68k/configs/apollo_defconfig~mm-remove-cleancache +0 -1
@@ -41,7 +41,6 @@ CONFIG_IOSCHED_BFQ=m CONFIG_BINFMT_AOUT=m CONFIG_BINFMT_MISC=m # CONFIG_COMPACTION is not set -CONFIG_CLEANCACHE=y CONFIG_ZPOOL=m CONFIG_NET=y CONFIG_PACKET=y
arch/m68k/configs/atari_defconfig renamed from arch/m68k/configs/atari_defconfig~mm-remove-cleancache +0 -1
@@ -48,7 +48,6 @@ CONFIG_IOSCHED_BFQ=m CONFIG_BINFMT_AOUT=m CONFIG_BINFMT_MISC=m # CONFIG_COMPACTION is not set -CONFIG_CLEANCACHE=y CONFIG_ZPOOL=m CONFIG_NET=y CONFIG_PACKET=y
arch/m68k/configs/bvme6000_defconfig renamed from arch/m68k/configs/bvme6000_defconfig~mm-remove-cleancache +0 -1
@@ -38,7 +38,6 @@ CONFIG_IOSCHED_BFQ=m CONFIG_BINFMT_AOUT=m CONFIG_BINFMT_MISC=m # CONFIG_COMPACTION is not set -CONFIG_CLEANCACHE=y CONFIG_ZPOOL=m CONFIG_NET=y CONFIG_PACKET=y
arch/m68k/configs/hp300_defconfig renamed from arch/m68k/configs/hp300_defconfig~mm-remove-cleancache +0 -1
@@ -40,7 +40,6 @@ CONFIG_IOSCHED_BFQ=m CONFIG_BINFMT_AOUT=m CONFIG_BINFMT_MISC=m # CONFIG_COMPACTION is not set -CONFIG_CLEANCACHE=y CONFIG_ZPOOL=m CONFIG_NET=y CONFIG_PACKET=y
arch/m68k/configs/mac_defconfig renamed from arch/m68k/configs/mac_defconfig~mm-remove-cleancache +0 -1
@@ -39,7 +39,6 @@ CONFIG_IOSCHED_BFQ=m CONFIG_BINFMT_AOUT=m CONFIG_BINFMT_MISC=m # CONFIG_COMPACTION is not set -CONFIG_CLEANCACHE=y CONFIG_ZPOOL=m CONFIG_NET=y CONFIG_PACKET=y
arch/m68k/configs/multi_defconfig renamed from arch/m68k/configs/multi_defconfig~mm-remove-cleancache +0 -1
@@ -59,7 +59,6 @@ CONFIG_IOSCHED_BFQ=m CONFIG_BINFMT_AOUT=m CONFIG_BINFMT_MISC=m # CONFIG_COMPACTION is not set -CONFIG_CLEANCACHE=y CONFIG_ZPOOL=m CONFIG_NET=y CONFIG_PACKET=y
arch/m68k/configs/mvme147_defconfig renamed from arch/m68k/configs/mvme147_defconfig~mm-remove-cleancache +0 -1
@@ -37,7 +37,6 @@ CONFIG_IOSCHED_BFQ=m CONFIG_BINFMT_AOUT=m CONFIG_BINFMT_MISC=m # CONFIG_COMPACTION is not set -CONFIG_CLEANCACHE=y CONFIG_ZPOOL=m CONFIG_NET=y CONFIG_PACKET=y
arch/m68k/configs/mvme16x_defconfig renamed from arch/m68k/configs/mvme16x_defconfig~mm-remove-cleancache +0 -1
@@ -38,7 +38,6 @@ CONFIG_IOSCHED_BFQ=m CONFIG_BINFMT_AOUT=m CONFIG_BINFMT_MISC=m # CONFIG_COMPACTION is not set -CONFIG_CLEANCACHE=y CONFIG_ZPOOL=m CONFIG_NET=y CONFIG_PACKET=y
arch/m68k/configs/q40_defconfig renamed from arch/m68k/configs/q40_defconfig~mm-remove-cleancache +0 -1
@@ -39,7 +39,6 @@ CONFIG_IOSCHED_BFQ=m CONFIG_BINFMT_AOUT=m CONFIG_BINFMT_MISC=m # CONFIG_COMPACTION is not set -CONFIG_CLEANCACHE=y CONFIG_ZPOOL=m CONFIG_NET=y CONFIG_PACKET=y
arch/m68k/configs/sun3_defconfig renamed from arch/m68k/configs/sun3_defconfig~mm-remove-cleancache +0 -1
@@ -35,7 +35,6 @@ CONFIG_IOSCHED_BFQ=m CONFIG_BINFMT_AOUT=m CONFIG_BINFMT_MISC=m # CONFIG_COMPACTION is not set -CONFIG_CLEANCACHE=y CONFIG_ZPOOL=m CONFIG_NET=y CONFIG_PACKET=y
arch/m68k/configs/sun3x_defconfig renamed from arch/m68k/configs/sun3x_defconfig~mm-remove-cleancache +0 -1
@@ -35,7 +35,6 @@ CONFIG_IOSCHED_BFQ=m CONFIG_BINFMT_AOUT=m CONFIG_BINFMT_MISC=m # CONFIG_COMPACTION is not set -CONFIG_CLEANCACHE=y CONFIG_ZPOOL=m CONFIG_NET=y CONFIG_PACKET=y
arch/s390/configs/debug_defconfig renamed from arch/s390/configs/debug_defconfig~mm-remove-cleancache +0 -1
@@ -96,7 +96,6 @@ CONFIG_MEMORY_HOTPLUG=y CONFIG_MEMORY_HOTREMOVE=y CONFIG_KSM=y CONFIG_TRANSPARENT_HUGEPAGE=y -CONFIG_CLEANCACHE=y CONFIG_FRONTSWAP=y CONFIG_CMA_DEBUG=y CONFIG_CMA_DEBUGFS=y
arch/s390/configs/defconfig renamed from arch/s390/configs/defconfig~mm-remove-cleancache +0 -1
@@ -91,7 +91,6 @@ CONFIG_MEMORY_HOTPLUG=y CONFIG_MEMORY_HOTREMOVE=y CONFIG_KSM=y CONFIG_TRANSPARENT_HUGEPAGE=y -CONFIG_CLEANCACHE=y CONFIG_FRONTSWAP=y CONFIG_CMA_SYSFS=y CONFIG_CMA_AREAS=7
block/bdev.c renamed from block/bdev.c~mm-remove-cleancache +0 -5
@@ -24,7 +24,6 @@#include <linux/pseudo_fs.h> #include <linux/uio.h> #include <linux/namei.h> -#include <linux/cleancache.h> #include <linux/part_stat.h> #include <linux/uaccess.h> #include "../fs/internal.h"
@@ -88,10 +87,6 @@ void invalidate_bdev(struct block_devicelru_add_drain_all ();/* make sure all lru add caches are flushed */ invalidate_mapping_pages (mapping,0 ,-1 ); } -/* 99% of the time, we don't need to flush the cleancache on the bdev. -* But, for the strange corners, lets be cautious -*/ -cleancache_invalidate_inode (mapping); }EXPORT_SYMBOL (invalidate_bdev);
Documentation/vm/cleancache.rst deleted +0 -296
296 lines not on this page · raw message
Documentation/vm/frontswap.rst renamed from Documentation/vm/frontswap.rst~mm-remove-cleancache +2 -10
@@ -8,12 +8,6 @@ Frontswap provides a "transcendent memor In some environments, dramatic performance savings may be obtained because swapped pages are saved in RAM (or a RAM-like device) instead of a swap disk. -(Note, frontswap -- and :ref:`cleancache` (merged at 3.0) -- are the "frontends" -and the only necessary changes to the core kernel for transcendent memory; -all other supporting code -- the "backends" -- is implemented as drivers. -See the LWN.net article `Transcendent memory in a nutshell`_ -for a detailed overview of frontswap and related kernel parts) - .. _Transcendent memory in a nutshell: https://lwn.net/Articles/454795/ Frontswap is so named because it can be thought of as the opposite of
@@ -87,11 +81,9 @@ This interface is ideal when data is tra and size (such as with compression) or secretly moved (as might be useful for write-balancing for some RAM-like devices). Swap pages (and evicted page-cache pages) are a great use for this kind of slower-than-RAM- -but-much-faster-than-disk "pseudo-RAM device" and the frontswap (and -cleancache) interface to transcendent memory provides a nice way to read -and write -- and indirectly "name" -- the pages. +but-much-faster-than-disk "pseudo-RAM device". -Frontswap -- and cleancache -- with a fairly small impact on the kernel, +Frontswap with a fairly small impact on the kernel, provides a huge amount of flexibility for more dynamic, flexible RAM utilization in various system configurations:
Documentation/vm/index.rst renamed from Documentation/vm/index.rst~mm-remove-cleancache +0 -1
@@ -15,7 +15,6 @@ algorithms. If you are looking for advi active_mm arch_pgtable_helpers balance - cleancache damon/index free_page_reporting frontswap
fs/btrfs/extent_io.c renamed from fs/btrfs/extent_io.c~mm-remove-cleancache +0 -10
@@ -12,7 +12,6 @@#include <linux/writeback.h> #include <linux/pagevec.h> #include <linux/prefetch.h> -#include <linux/cleancache.h> #include <linux/fsverity.h> #include "misc.h" #include "extent_io.h"
@@ -3578,15 +3577,6 @@ int btrfs_do_readpage(struct page *page, goto out; } -if (!PageUptodate (page)) { -if (cleancache_get_page (page) ==0 ) { -BUG_ON (blocksize !=PAGE_SIZE ); -unlock_extent (tree, start, end); -unlock_page (page); - goto out; - } - } -if (page->index == last_byte >>PAGE_SHIFT ) {size_t zero_offset =offset_in_page (last_byte);
fs/btrfs/super.c renamed from fs/btrfs/super.c~mm-remove-cleancache +0 -2
@@ -23,7 +23,6 @@#include <linux/miscdevice.h> #include <linux/magic.h> #include <linux/slab.h> -#include <linux/cleancache.h> #include <linux/ratelimit.h> #include <linux/crc32c.h> #include <linux/btrfs.h>
@@ -1374,7 +1373,6 @@ static int btrfs_fill_super(struct super goto fail_close; } -cleancache_init_fs (sb); sb->s_flags |=SB_ACTIVE ;return 0 ;
fs/ext4/readpage.c renamed from fs/ext4/readpage.c~mm-remove-cleancache +0 -6
@@ -43,7 +43,6 @@#include <linux/writeback.h> #include <linux/backing-dev.h> #include <linux/pagevec.h> -#include <linux/cleancache.h> #include "ext4.h"
@@ -350,11 +349,6 @@ int ext4_mpage_readpages(struct inode *i }else if (fully_mapped) {SetPageMappedToDisk (page); } -if (fully_mapped && blocks_per_page ==1 && - !PageUptodate (page) &&cleancache_get_page (page) ==0 ) { -SetPageUptodate (page); - goto confused; - }/* * This page will go to BIO. Do we need to send this
fs/ext4/super.c renamed from fs/ext4/super.c~mm-remove-cleancache +0 -3
@@ -39,7 +39,6 @@#include <linux/log2.h> #include <linux/crc16.h> #include <linux/dax.h> -#include <linux/cleancache.h> #include <linux/uaccess.h> #include <linux/iversion.h> #include <linux/unicode.h>
@@ -3149,8 +3148,6 @@ done:EXT4_BLOCKS_PER_GROUP (sb),EXT4_INODES_PER_GROUP (sb), sbi->s_mount_opt, sbi->s_mount_opt2); - -cleancache_init_fs (sb);return err; }
fs/f2fs/data.c renamed from fs/f2fs/data.c~mm-remove-cleancache +0 -13
@@ -18,7 +18,6 @@#include <linux/swap.h> #include <linux/prefetch.h> #include <linux/uio.h> -#include <linux/cleancache.h> #include <linux/sched/signal.h> #include <linux/fiemap.h> #include <linux/iomap.h>
@@ -2035,12 +2034,6 @@ got_it: block_nr = map->m_pblk + block_in_file - map->m_lblk;SetPageMappedToDisk (page); -if (!PageUptodate (page) && (!PageSwapCache (page) && - !cleancache_get_page (page))) { -SetPageUptodate (page); - goto confused; - } -if (!f2fs_is_valid_blkaddr (F2FS_I_SB (inode), block_nr,DATA_GENERIC_ENHANCE_READ )) { ret = -EFSCORRUPTED ;
@@ -2096,12 +2089,6 @@ submit_and_realloc:ClearPageError (page); *last_block_in_bio = block_nr; goto out; -confused: -if (bio) { -__submit_bio (F2FS_I_SB (inode), bio,DATA ); - bio =NULL ; - } -unlock_page (page); out: *bio_ret = bio;return ret;
fs/mpage.c renamed from fs/mpage.c~mm-remove-cleancache +0 -7
@@ -29,7 +29,6 @@#include <linux/writeback.h> #include <linux/backing-dev.h> #include <linux/pagevec.h> -#include <linux/cleancache.h> #include "internal.h" /*
@@ -284,12 +283,6 @@ static struct bio *do_mpage_readpage(strSetPageMappedToDisk (page); } -if (fully_mapped && blocks_per_page ==1 && !PageUptodate (page) && -cleancache_get_page (page) ==0 ) { -SetPageUptodate (page); - goto confused; - } -/* * This page will go to BIO. Do we need to send this BIO off first? */
fs/ntfs3/ntfs_fs.h renamed from fs/ntfs3/ntfs_fs.h~mm-remove-cleancache +0 -1
@@ -11,7 +11,6 @@#include <linux/blkdev.h> #include <linux/buffer_head.h> -#include <linux/cleancache.h> #include <linux/fs.h> #include <linux/highmem.h> #include <linux/kernel.h>
fs/ocfs2/super.c renamed from fs/ocfs2/super.c~mm-remove-cleancache +0 -2
@@ -25,7 +25,6 @@#include <linux/mount.h> #include <linux/seq_file.h> #include <linux/quotaops.h> -#include <linux/cleancache.h> #include <linux/signal.h> #define CREATE_TRACE_POINTS
@@ -2283,7 +2282,6 @@ static int ocfs2_initialize_super(structmlog_errno (status); goto bail; } -cleancache_init_shared_fs (sb); osb->ocfs2_wq =alloc_ordered_workqueue ("ocfs2_wq" ,WQ_MEM_RECLAIM );if (!osb->ocfs2_wq) {
fs/super.c renamed from fs/super.c~mm-remove-cleancache +0 -3
@@ -31,7 +31,6 @@#include <linux/mutex.h> #include <linux/backing-dev.h> #include <linux/rculist_bl.h> -#include <linux/cleancache.h> #include <linux/fscrypt.h> #include <linux/fsnotify.h> #include <linux/lockdep.h>
@@ -260,7 +259,6 @@ static struct super_block *alloc_super(s s->s_time_gran =1000000000 ; s->s_time_min =TIME64_MIN ; s->s_time_max =TIME64_MAX ; - s->cleancache_poolid =CLEANCACHE_NO_POOL ; s->s_shrink.seeks =DEFAULT_SEEKS ; s->s_shrink.scan_objects = super_cache_scan;
@@ -330,7 +328,6 @@ void deactivate_locked_super(struct supe {struct file_system_type *fs = s->s_type;if (atomic_dec_and_test (&s->s_active)) { -cleancache_invalidate_fs (s);unregister_shrinker (&s->s_shrink); fs->kill_sb (s);
include/linux/cleancache.h deleted +0 -124
124 lines not on this page · raw message
include/linux/fs.h renamed from include/linux/fs.h~mm-remove-cleancache +0 -5
@@ -1535,11 +1535,6 @@ struct super_block {const struct dentry_operations *s_d_op;/* default d_op for dentries */ -/* -* Saved pool identifier for cleancache (-1 means none) -*/ -int cleancache_poolid; -struct shrinker s_shrink;/* per-sb shrinker handle */ /* Number of inodes with nlink == 0 but still referenced */
MAINTAINERS renamed from MAINTAINERS~mm-remove-cleancache +0 -7
@@ -4705,13 +4705,6 @@ T: git git://git.kernel.org/pub/scm/linu F: include/linux/cfi.h F: kernel/cfi.c -CLEANCACHE API -M: Konrad Rzeszutek Wilk <[email protected]> -L: [email protected] -S: Maintained -F: include/linux/cleancache.h -F: mm/cleancache.c - CLK API M: Russell King <[email protected]> L: [email protected]
mm/cleancache.c deleted +0 -315
315 lines not on this page · raw message
mm/filemap.c renamed from mm/filemap.c~mm-remove-cleancache +0 -11
@@ -35,7 +35,6 @@#include <linux/cpuset.h> #include <linux/hugetlb.h> #include <linux/memcontrol.h> -#include <linux/cleancache.h> #include <linux/shmem_fs.h> #include <linux/rmap.h> #include <linux/delayacct.h>
@@ -151,16 +150,6 @@ static void filemap_unaccount_folio(stru {long nr; -/* -* if we're uptodate, flush out into the cleancache, otherwise -* invalidate any existing cleancache entries. We can't leave -* stale data around in the cleancache once our page is gone -*/ -if (folio_test_uptodate (folio) &&folio_test_mappedtodisk (folio)) -cleancache_put_page (&folio->page); -else -cleancache_invalidate_page (mapping, &folio->page); -VM_BUG_ON_FOLIO (folio_mapped (folio), folio);if (!IS_ENABLED (CONFIG_DEBUG_VM ) &&unlikely (folio_mapped (folio))) {int mapcount;
mm/Kconfig renamed from mm/Kconfig~mm-remove-cleancache +0 -22
@@ -444,28 +444,6 @@ config USE_PERCPU_NUMA_NODE_ID config HAVE_SETUP_PER_CPU_AREA bool -config CLEANCACHE - bool "Enable cleancache driver to cache clean pages if tmem is present" - help - Cleancache can be thought of as a page-granularity victim cache - for clean pages that the kernel's pageframe replacement algorithm - (PFRA) would like to keep around, but can't since there isn't enough - memory. So when the PFRA "evicts" a page, it first attempts to use - cleancache code to put the data contained in that page into - "transcendent memory", memory that is not directly accessible or - addressable by the kernel and is of unknown and possibly - time-varying size. And when a cleancache-enabled - filesystem wishes to access a page in a file on disk, it first - checks cleancache to see if it already contains it; if it does, - the page is copied into the kernel and a disk access is avoided. - When a transcendent memory driver is available (such as zcache or - Xen transcendent memory), a significant I/O reduction - may be achieved. When none is available, all cleancache calls - are reduced to a single pointer-compare-against-NULL resulting - in a negligible performance hit. - - If unsure, say Y to enable cleancache - config FRONTSWAP bool "Enable frontswap to cache swap pages if tmem is present" depends on SWAP
mm/Makefile renamed from mm/Makefile~mm-remove-cleancache +0 -1
@@ -104,7 +104,6 @@ obj-$(CONFIG_DEBUG_KMEMLEAK) += kmemleak obj-$(CONFIG_DEBUG_RODATA_TEST) += rodata_test.o obj-$(CONFIG_DEBUG_VM_PGTABLE) += debug_vm_pgtable.o obj-$(CONFIG_PAGE_OWNER) += page_owner.o -obj-$(CONFIG_CLEANCACHE) += cleancache.o obj-$(CONFIG_MEMORY_ISOLATION) += page_isolation.o obj-$(CONFIG_ZPOOL) += zpool.o obj-$(CONFIG_ZBUD) += zbud.o
mm/truncate.c renamed from mm/truncate.c~mm-remove-cleancache +2 -13
@@ -22,7 +22,6 @@#include <linux/buffer_head.h> /* grr. try_to_release_page, do_invalidatepage */ #include <linux/shmem_fs.h> -#include <linux/cleancache.h> #include <linux/rmap.h> #include "internal.h"
@@ -264,7 +263,6 @@ bool truncate_inode_partial_folio(struct*/ folio_zero_range (folio, offset, length); -cleancache_invalidate_page (folio->mapping, &folio->page);if (folio_has_private (folio))do_invalidatepage (&folio->page, offset, length);if (!folio_test_large (folio))
@@ -351,7 +349,7 @@ void truncate_inode_pages_range(struct abool same_folio;if (mapping_empty (mapping)) - goto out; +return ;/* * 'start' and 'end' always covers the range of pages to be fully
@@ -442,9 +440,6 @@ void truncate_inode_pages_range(struct afolio_batch_release (&fbatch); index++; } - -out: -cleancache_invalidate_inode (mapping); }EXPORT_SYMBOL (truncate_inode_pages_range);
@@ -498,10 +493,6 @@ void truncate_inode_pages_final(struct axa_unlock_irq (&mapping->i_pages); } -/* -* Cleancache needs notification even if there are no pages or shadow -* entries. -*/ truncate_inode_pages (mapping,0 ); }EXPORT_SYMBOL (truncate_inode_pages_final);
@@ -661,7 +652,7 @@ int invalidate_inode_pages2_range(structint did_range_unmap =0 ;if (mapping_empty (mapping)) - goto out; +return 0 ;folio_batch_init (&fbatch); index = start;
@@ -725,8 +716,6 @@ int invalidate_inode_pages2_range(structif (dax_mapping (mapping)) {unmap_mapping_pages (mapping, start, end - start +1 , false); } -out: -cleancache_invalidate_inode (mapping);return ret; }EXPORT_SYMBOL_GPL (invalidate_inode_pages2_range);
_
Patches currently in -mm which might be from [email protected] are