frontswap-remove-frontswap_shrink.patch removed from -mm tree
The patch titled
Subject: frontswap: remove frontswap_shrink
has been removed from the -mm tree. Its filename was
frontswap-remove-frontswap_shrink.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Christoph Hellwig <[email protected]>
Subject: frontswap: remove frontswap_shrink
frontswap_shrink is never called, so remove it.
Signed-off-by Christoph Hellwig <[email protected]>
Reviewed-by Juergen Gross <[email protected]>
Cc Dan Streetman <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc Hugh Dickins <[email protected]>
Cc Konrad Rzeszutek Wilk <[email protected]>
Cc Matthew Wilcox (Oracle) <[email protected]>
Cc Seth Jennings <[email protected]>
Cc Vitaly Wool <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
Documentation/vm/frontswap.rst | 13 ---- include/linux/frontswap.h | 1 mm/frontswap.c | 83 ------------------------------- 3 files changed, 97 deletions(-)
Documentation/vm/frontswap.rst renamed from Documentation/vm/frontswap.rst~frontswap-remove-frontswap_shrink +0 -13
@@ -255,19 +255,6 @@ the old data and ensure that it is no lo swap subsystem then writes the new data to the read swap device, this is the correct course of action to ensure coherency. -* What is frontswap_shrink for? - -When the (non-frontswap) swap subsystem swaps out a page to a real -swap device, that page is only taking up low-value pre-allocated disk -space. But if frontswap has placed a page in transcendent memory, that -page may be taking up valuable real estate. The frontswap_shrink -routine allows code outside of the swap subsystem to force pages out -of the memory managed by frontswap and back into kernel-addressable memory. -For example, in RAMster, a "suction driver" thread will attempt -to "repatriate" pages sent to a remote machine back to the local machine; -this is driven using the frontswap_shrink mechanism when memory pressure -subsides. - * Why does the frontswap patch create the new include file swapfile.h? The frontswap code depends on some swap-subsystem-internal data
include/linux/frontswap.h renamed from include/linux/frontswap.h~frontswap-remove-frontswap_shrink +0 -1
@@ -24,7 +24,6 @@ struct frontswap_ops { };extern void frontswap_register_ops (struct frontswap_ops *ops); -extern void frontswap_shrink (unsigned long );extern unsigned long frontswap_curr_pages (void );extern bool __frontswap_test (struct swap_info_struct *,pgoff_t );
mm/frontswap.c renamed from mm/frontswap.c~frontswap-remove-frontswap_shrink +0 -83
89 lines not on this page · raw message
_
Patches currently in -mm which might be from [email protected] are