* [folded-merged] cachestat-implement-cachestat-syscall-fix.patch removed from -mm tree
@ 2023-06-09 23:12 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2023-06-09 23:12 UTC (permalink / raw)
To: mm-commits, akpm, nphamcs, akpm
The quilt patch titled
Subject: cachestat: implement cachestat syscall (fix)
has been removed from the -mm tree. Its filename was
cachestat-implement-cachestat-syscall-fix.patch
This patch was dropped because it was folded into cachestat-implement-cachestat-syscall.patch
------------------------------------------------------
From: Nhat Pham <nphamcs@gmail.com>
Subject: cachestat: implement cachestat syscall (fix)
Date: Wed, 3 May 2023 19:20:44 -0700
This fixlet replaces rounddown logic with the existing helper.
Link: https://lkml.kernel.org/r/20230504022044.3675469-1-nphamcs@gmail.com
Fixes: 5c289a59b1d0 ("cachestat: implement cachestat syscall")
Signed-off-by: Nhat Pham <nphamcs@gmail.com>
Suggested-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/filemap.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--- a/mm/filemap.c~cachestat-implement-cachestat-syscall-fix
+++ a/mm/filemap.c
@@ -4163,8 +4163,7 @@ static void filemap_cachestat(struct add
int order = xa_get_order(xas.xa, xas.xa_index);
nr_pages = 1 << order;
- /* rounds down to the nearest multiple of 2^order */
- folio_first_index = xas.xa_index >> order << order;
+ folio_first_index = round_down(xas.xa_index, 1 << order);
folio_last_index = folio_first_index + nr_pages - 1;
/* Folios might straddle the range boundaries, only count covered pages */
_
Patches currently in -mm which might be from nphamcs@gmail.com are
workingset-refactor-lru-refault-to-expose-refault-recency-check.patch
cachestat-implement-cachestat-syscall.patch
cachestat-wire-up-cachestat-for-other-architectures.patch
cachestat-wire-up-cachestat-for-other-architectures-fix.patch
selftests-add-selftests-for-cachestat.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-06-09 23:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-09 23:12 [folded-merged] cachestat-implement-cachestat-syscall-fix.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.