MentOS  0.8.0
The Mentoring Operating System
Macros

Enable reclaim operations on a specific region of memory. More...

Macros

#define __GFP_IO   ___GFP_IO
 Can start physical IO.
 
#define __GFP_FS   ___GFP_FS
 Can call down to the low-level FS. Clearing the flag avoids the allocator recursing into the filesystem which might already be holding locks.
 
#define __GFP_DIRECT_RECLAIM   ___GFP_DIRECT_RECLAIM
 Indicates that the caller may enter direct reclaim. This flag can be cleared to avoid unnecessary delays when a fallback option is available.
 
#define __GFP_KSWAPD_RECLAIM   ___GFP_KSWAPD_RECLAIM
 Indicates that the caller wants to wake kswapd when the low watermark is reached and have it reclaim pages until the high watermark is reached. A caller may wish to clear this flag when fallback options are available and the reclaim is likely to disrupt the system. The canonical example is THP allocation where a fallback is cheap but reclaim/compaction may cause indirect stalls.
 
#define __GFP_RECLAIM   (___GFP_DIRECT_RECLAIM | ___GFP_KSWAPD_RECLAIM)
 Is shorthand to allow/forbid both direct and kswapd reclaim.
 

Detailed Description

Enable reclaim operations on a specific region of memory.