Lines Matching +full:indexed +full:- +full:array
12 physical frame each virtual page is mapped to. It contains one 64-bit
16 * Bits 0-54 page frame number (PFN) if present
17 * Bits 0-4 swap type if swapped
18 * Bits 5-54 swap offset if swapped
19 * Bit 55 pte is soft-dirty (see
20 Documentation/admin-guide/mm/soft-dirty.rst)
22 * Bit 57 pte is uffd-wp write-protected (since 5.13) (see
23 Documentation/admin-guide/mm/userfaultfd.rst)
25 * Bits 59-60 zero
26 * Bit 61 page is file-page or shared-anon (since 3.5)
31 In 4.0 and 4.1 opens by unprivileged fail with -EPERM. Starting from
45 * ``/proc/kpagecount``. This file contains a 64-bit count of the number of
46 times each page is mapped, indexed by PFN.
48 The page-types tool in the tools/mm directory can be used to query the
51 * ``/proc/kpageflags``. This file contains a 64-bit set of flags for each
52 page, indexed by PFN.
84 * ``/proc/kpagecgroup``. This file contains a 64-bit inode number of the
85 memory cgroup each page is charged to, indexed by PFN. Only available when
91 0 - LOCKED
94 7 - SLAB
98 10 - BUDDY
103 15 - COMPOUND_HEAD
107 pages are hugeTLB pages (Documentation/admin-guide/mm/hugetlbpage.rst),
111 16 - COMPOUND_TAIL
113 17 - HUGE
115 19 - HWPOISON
117 20 - NOPAGE
119 21 - KSM
121 22 - THP
123 23 - OFFLINE
125 24 - ZERO_PAGE
127 25 - IDLE
129 Documentation/admin-guide/mm/idle_page_tracking.rst).
131 a PTE. To make sure the flag is up-to-date one has to read
133 26 - PGTABLE
137 ---------------------
139 1 - ERROR
141 3 - UPTODATE
142 The page has up-to-date data.
143 ie. for file backed page: (in-memory data revision >= on-disk one)
144 4 - DIRTY
146 i.e. for file backed page: (in-memory data revision > on-disk one)
147 8 - WRITEBACK
151 ----------------------
153 5 - LRU
155 6 - ACTIVE
157 18 - UNEVICTABLE
158 The page is in the unevictable (non-)LRU list It is somehow pinned and
161 2 - REFERENCED
163 9 - RECLAIM
165 11 - MMAP
167 12 - ANON
169 13 - SWAPCACHE
171 14 - SWAPBACKED
174 The page-types tool in the tools/mm directory can be used to query the
181 swapped out. This makes swapped out pages indistinguishable from never-allocated
192 holes (none/non-allocated) by specifying the SEEK_DATA flag on the file where
197 cache) and out of memory (swapped out or none/non-allocated).
202 Reading from any of the files will return -EINVAL if you are not starting
203 the read on an 8-byte boundary (e.g., if you sought an odd number of bytes
206 Before Linux 3.11 pagemap bits 55-60 were used for "page-shift" (which is
208 after first clear of soft-dirty bits. Since Linux 4.2 they are used for
218 - Scan the address range and get the memory ranges matching the provided criteria.
220 - Write-protect the pages. The ``PM_SCAN_WP_MATCHING`` is used to write-protect
222 non-Async Write Protected pages are found. The ``PM_SCAN_WP_MATCHING`` can be
224 - Both of those operations can be combined into one atomic operation where we can
229 - ``PAGE_IS_WPALLOWED`` - Page has async-write-protection enabled
230 - ``PAGE_IS_WRITTEN`` - Page has been written to from the time it was write protected
231 - ``PAGE_IS_FILE`` - Page is file backed
232 - ``PAGE_IS_PRESENT`` - Page is present in the memory
233 - ``PAGE_IS_SWAPPED`` - Page is in swapped
234 - ``PAGE_IS_PFNZERO`` - Page has zero PFN
235 - ``PAGE_IS_HUGE`` - Page is PMD-mapped THP or Hugetlb backed
236 - ``PAGE_IS_SOFT_DIRTY`` - Page is soft-dirty
250 5. The output buffer of ``struct page_region`` array and size is specified in
280 The ``PAGE_IS_WRITTEN`` flag can be considered as a better-performing alternative
281 of soft-dirty flag. It doesn't get affected by VMA merging of the kernel and hence
282 the user can find the true soft-dirty pages in case of normal pages. (There may
285 "PAGE_IS_WRITTEN" category is used with uffd write protect-enabled ranges to