October 2017
Intermediate to advanced
354 pages
9h 28m
English
This is an unsigned long bit-field that holds flags which describe state of the physical page. Flag constants are defined through an enum in kernel header include/linux/page-flags.h. The following table lists out important flag constants:
| Flag | Description |
| PG_locked | Used to indicate if page is locked; this bit is set while initiating I/O operations on page and cleared on completion. |
| PG_error | Used to indicate an error page. Set on occurrence of an I/O error on the page. |
| PG_referenced | Set to indicate page reclaim for page cache. |
| PG_uptodate | Set to indicate if page is valid after read operation from disk. |
| PG_dirty | Set when file backed page is modified and is out-of-sync with disk image of the same. |
| PG_lru | Used to indicate ... |
Read now
Unlock full access