1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _UAPILINUX_KERNEL_PAGE_FLAGS_H
3 #define _UAPILINUX_KERNEL_PAGE_FLAGS_H
6 * Stable page flag bits exported to user space
11 #define KPF_REFERENCED 2
12 #define KPF_UPTODATE 3
17 #define KPF_WRITEBACK 8
21 /* 11-20: new additions in 2.6.31 */
24 #define KPF_SWAPCACHE 13
25 #define KPF_SWAPBACKED 14
26 #define KPF_COMPOUND_HEAD 15
27 #define KPF_COMPOUND_TAIL 16
29 #define KPF_UNEVICTABLE 18
30 #define KPF_HWPOISON 19
35 #define KPF_OFFLINE 23
36 #define KPF_ZERO_PAGE 24
38 #define KPF_PGTABLE 26
40 #endif /* _UAPILINUX_KERNEL_PAGE_FLAGS_H */