config: remove ZFS_GLOBAL_NODE_PAGE_STATE

Sponsored-by: https://despairlabs.com/sponsor/
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Closes #16479
This commit is contained in:
Rob Norris
2024-08-16 20:17:19 +10:00
committed by Tony Hutter
parent 5bffb7ee9c
commit 31952dc1c1
2 changed files with 1 additions and 36 deletions
+1 -8
View File
@@ -36,7 +36,7 @@
#define nr_inactive_file_pages() global_zone_page_state(NR_INACTIVE_FILE)
#endif
#elif defined(ZFS_GLOBAL_NODE_PAGE_STATE)
#else
/* global_node_page_state() introduced */
#if defined(ZFS_ENUM_NODE_STAT_ITEM_NR_FILE_PAGES)
@@ -55,13 +55,6 @@
#define nr_inactive_file_pages() global_page_state(NR_INACTIVE_FILE)
#endif
#else
/* global_page_state() only */
#define nr_file_pages() global_page_state(NR_FILE_PAGES)
#define nr_inactive_anon_pages() global_page_state(NR_INACTIVE_ANON)
#define nr_inactive_file_pages() global_page_state(NR_INACTIVE_FILE)
#endif /* ZFS_GLOBAL_ZONE_PAGE_STATE */
#endif /* _ZFS_PAGE_COMPAT_H */