| Server IP : 118.27.122.120 / Your IP : 216.73.216.239 Web Server : Apache System : Linux web0216.sh.tyo1 4.18.0-553.141.2.lve.el7h.x86_64 #1 SMP Wed Jul 8 17:20:31 UTC 2026 x86_64 User : r4834334 ( 11094) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/root/opt/rh/devtoolset-8/root/usr/share/systemtap/runtime/linux/ |
Upload File : |
// The following kernel commit renamed __GFP_WAIT to __GRP_RECLAIM: // // commit 71baba4b92dc1fa1bc461742c6ab1942ec6034e9 // Author: Mel Gorman <mgorman@techsingularity.net> // Date: Fri Nov 6 16:28:28 2015 -0800 // // mm, page_alloc: rename __GFP_WAIT to __GFP_RECLAIM // // __GFP_WAIT was used to signal that the caller was in atomic // context and could not sleep. Now it is possible to // distinguish between true atomic context and callers that are // not willing to sleep. The latter should clear // __GFP_DIRECT_RECLAIM so kswapd will still wake. As clearing // __GFP_WAIT behaves differently, there is a risk that people // will clear the wrong flags. This patch renames __GFP_WAIT to // __GFP_RECLAIM to clearly indicate what it does -- setting it // allows all reclaim activity, clearing them prevents it. // // Handle the rename by defining __GFP_WAIT as __GFP_RECLAIM. #include <linux/gfp.h> #ifndef __GFP_WAIT #define __GFP_WAIT __GFP_RECLAIM #endif