History

mm: mark pages in use for page tables

Define a new PageTable bit in the page_type and use it to mark pages in use as page tables. This can be helpful when debugging crashdumps or analysing memory fragmentation. Add a KPF flag to report these pages to userspace and update page-types.c to interpret that flag. Note that only pages currently accounted as NR_PAGETABLES are tracked as PageTable; this does not include pgd/p4d/pud/pmd pages. Those will be the subject of a later patch.

Matthew Wilcox committed 8 years ago

Commit 1d40a5e1 parent 6e292b95 files · +12 −1Browse files

Showing the changes to include/uapi (1 of 5 files). Show all

Unified · Split

include/uapi/linux/kernel-page-flags.h+1−1
@@ -35,6 +35,6 @@ · 34 unmodified lines
35#define KPF_BALLOON 2335#define KPF_BALLOON 23
36#define KPF_ZERO_PAGE 2436#define KPF_ZERO_PAGE 24
37#define KPF_IDLE 2537#define KPF_IDLE 25
38 38#define KPF_PGTABLE 26
39 39
40#endif /* _UAPILINUX_KERNEL_PAGE_FLAGS_H */40#endif /* _UAPILINUX_KERNEL_PAGE_FLAGS_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t