PAGE MOBILITY AND PLACEMENT HINTS(9)
π PAGE MOBILITY AND PLACEMENT HINTS π
okay so bestie, welcome to the Page mobility and placement hints(9) manual page from the Kernel API Manual β section 9, no cap. π This one is all about the little flags that drop hints about how mobile a page is.
These flags provide hints about how mobile the page is. Pages with similar mobility are placed within the same pageblocks to minimise problems due to external fragmentation. β¨
__GFP_MOVABLE(also a zone modifier) β indicates that the page can be moved by page migration during memory compaction, or can be reclaimed. π₯__GFP_RECLAIMABLEβ used for slab allocations that specifySLAB_RECLAIM_ACCOUNT, and whose pages can be freed via shrinkers. π§__GFP_WRITEβ indicates the caller intends to dirty the page. Where possible, these pages will be spread between local zones to avoid all the dirty pages being in one zone (fair zone allocation policy). π__GFP_HARDWALLβ enforces the cpuset memory allocation policy. π«Ά__GFP_THISNODEβ forces the allocation to be satisfied from the requested node with no fallbacks or placement policy enforcements. β__GFP_ACCOUNTβ causes the allocation to be accounted to kmemcg. πΈ
π SEE ALSO π
Kernel file ./tools/include/linux/gfp_types.h is the spot, and the vibes point you to:
gfp_t(9)Watermark modifiers(9)Reclaim modifiers(9)Action modifiers(9)Useful GFP flag combinations(9)
okay that's the whole page, bestie. source/version: ./tools/include/linux; date: October 2026; page tag: Page mobili...cement hints(9). stay mobile, stay iconic π
π¦β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms