[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221118073055.55694-1-vishal.moola@gmail.com>
Date: Thu, 17 Nov 2022 23:30:51 -0800
From: "Vishal Moola (Oracle)" <vishal.moola@...il.com>
To: linux-mm@...ck.org
Cc: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-ext4@...r.kernel.org, akpm@...ux-foundation.org,
willy@...radead.org, naoya.horiguchi@....com, tytso@....edu,
"Vishal Moola (Oracle)" <vishal.moola@...il.com>
Subject: [PATCH v3 0/4] Removing the try_to_release_page() wrapper
This patchset replaces the remaining calls of try_to_release_page() with
the folio equivalent: filemap_release_folio(). This allows us to remove
the wrapper.
The set passes fstests on ext4 and xfs.
---
v3:
Fixed a mistake with a VM_BUG_ON_FOLIO check
v2:
Added VM_BUG_ON_FOLIO to ext4 for catching future data corruption
Vishal Moola (Oracle) (4):
ext4: Convert move_extent_per_page() to use folios
khugepage: Replace try_to_release_page() with filemap_release_folio()
memory-failure: Convert truncate_error_page() to use folio
folio-compat: Remove try_to_release_page()
fs/ext4/move_extent.c | 52 ++++++++++++++++++++++++-----------------
include/linux/pagemap.h | 1 -
mm/folio-compat.c | 6 -----
mm/khugepaged.c | 23 +++++++++---------
mm/memory-failure.c | 5 ++--
5 files changed, 46 insertions(+), 41 deletions(-)
--
2.38.1
Powered by blists - more mailing lists