Get Free Page
Posted Mar 26, 2008 10:02 UTC (Wed) by
pr1268 (subscriber, #24648)
In reply to:
What is the meaning of GFP by dale77
Parent article:
Atomic context and kernel API design
I was right! And to think I extrapolated "get free page" from the context of where I found a bunch of GFP_* macros in my search. Thank you, Dale77.
For those with further interest, the GFP_* macros appear to be a set of bitmasks, many of which are defined as bitwise-ORed versions of others (ref. <Linux source>/include/kernel/gfp.h). These are used to set parameters to allocating virtual memory (and what to do in case of failure). But, I'm certain a lot of LWN readers already know this.
I have a lot to learn about the internal workings of the Linux kernel, as well as my online search skills--I'm certain a search here at LWN would have led me to that link.
(
Log in to post comments)