mm-shmem-extend-shmem_partial_swap_usage-to-support-large-folio-swap.patch removed from -mm tree
The quilt patch titled
Subject: mm: shmem: extend shmem_partial_swap_usage() to support large folio swap
has been removed from the -mm tree. Its filename was
mm-shmem-extend-shmem_partial_swap_usage-to-support-large-folio-swap.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Baolin Wang <[email protected]>
Subject: mm: shmem: extend shmem_partial_swap_usage() to support large folio swap
Date: Mon, 12 Aug 2024 15:42:03 +0800
To support shmem large folio swapout in the following patches, using xa_get_order() to get the order of the swap entry to calculate the swap usage of shmem.
---
mm/shmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/shmem.c renamed from mm/shmem.c~mm-shmem-extend-shmem_partial_swap_usage-to-support-large-folio-swap +1 -1
@@ -890,7 +890,7 @@ unsigned long shmem_partial_swap_usage(sif (xas_retry (&xas, page))continue ;if (xa_is_value (page)) - swapped++; + swapped +=1 <<xa_get_order (xas.xa, xas.xa_index);if (xas.xa_index == max)break ;if (need_resched ()) {
_
Patches currently in -mm which might be from [email protected] are