mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 06:14:39 +01:00
mm/vmscan: remove unused RECLAIM_OFF/RECLAIM_ZONE
Commit 1b2ffb7896 ("[PATCH] Zone reclaim: Allow modification of zone
reclaim behavior")' defined RECLAIM_OFF/RECLAIM_ZONE, but never use
them, so better to remove them.
[[email protected]: fix sanity checks enabling]
Link: http://lkml.kernel.org/r/[email protected]
[[email protected]: renumber the bits for neatness]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Alex Shi <[email protected]>
Signed-off-by: Daniel Wagner <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: "Tobin C. Harding" <[email protected]>
Cc: Christoph Lameter <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
1 parent
fffbacc1ec
commit
648b5cf368
1 file changed
+2
-4
+2
-4
@@ -4110,10 +4110,8 @@ module_init(kswapd_init)
|
||||
*/
|
||||
int node_reclaim_mode __read_mostly;
|
||||
|
||||
#define RECLAIM_OFF 0
|
||||
#define RECLAIM_ZONE (1<<0) /* Run shrink_inactive_list on the zone */
|
||||
#define RECLAIM_WRITE (1<<1) /* Writeout pages during reclaim */
|
||||
#define RECLAIM_UNMAP (1<<2) /* Unmap pages during reclaim */
|
||||
#define RECLAIM_WRITE (1<<0) /* Writeout pages during reclaim */
|
||||
#define RECLAIM_UNMAP (1<<1) /* Unmap pages during reclaim */
|
||||
|
||||
/*
|
||||
* Priority for NODE_RECLAIM. This determines the fraction of pages
|
||||
|
||||
Reference in new issue
Block a user