public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2 v5] add ioctl/sysfs to donate file-backed pages
@ 2025-01-16 17:19 Jaegeuk Kim
  2025-01-16 17:19 ` [PATCH 1/2] f2fs: add a sysfs entry to request " Jaegeuk Kim
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jaegeuk Kim @ 2025-01-16 17:19 UTC (permalink / raw)
  To: linux-kernel, linux-f2fs-devel; +Cc: Jaegeuk Kim

If users clearly know which file-backed pages to reclaim in system view, they
can use this ioctl() to register in advance and reclaim all at once later.

Change log from v4:
 - fix range handling

Change log from v3:
 - cover partial range

Change log from v2:
 - add more boundary checks
 - de-register the range, if len is zero

Jaegeuk Kim (1):
  f2fs: add a sysfs entry to request donate file-backed pages

Yi Sun (1):
  f2fs: Optimize f2fs_truncate_data_blocks_range()

 Documentation/ABI/testing/sysfs-fs-f2fs |  7 ++++++
 fs/f2fs/f2fs.h                          |  2 ++
 fs/f2fs/file.c                          | 29 +++++++++++++++++++++----
 fs/f2fs/shrinker.c                      | 27 +++++++++++++++++++++++
 fs/f2fs/sysfs.c                         |  8 +++++++
 5 files changed, 69 insertions(+), 4 deletions(-)

-- 
2.48.0.rc2.279.g1de40edade-goog


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-01-17 16:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-16 17:19 [PATCH 0/2 v5] add ioctl/sysfs to donate file-backed pages Jaegeuk Kim
2025-01-16 17:19 ` [PATCH 1/2] f2fs: add a sysfs entry to request " Jaegeuk Kim
2025-01-16 17:19 ` [PATCH 2/2] f2fs: Optimize f2fs_truncate_data_blocks_range() Jaegeuk Kim
2025-01-17  7:58 ` [PATCH 0/2 v5] add ioctl/sysfs to donate file-backed pages Christoph Hellwig
2025-01-17 16:40   ` Jaegeuk Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox