I found that on linux 3.0+ GFP_ZERO
is no longer defined in headers.
All I found in gfp.h was,
/* Plain integer GFP bitmasks. Do not use this directly. */
...
#define ___GFP_ZERO 0x8000u
I've checked those "exported" bit masks, on one uses GFP_ZERO
.
And the author says Do not use this directly
, so, how should I get zeroed page,
Is kmalloc + memset
the only option I have now?