[folded-merged] cachestat-implement-cachestat-syscall-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
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@xxxxxxxxx
Fixes: 5c289a59b1d0 ("cachestat: implement cachestat syscall")
Signed-off-by: Nhat Pham <nphamcs@xxxxxxxxx>
Suggested-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 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@xxxxxxxxx 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




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux