LWN.net Logo

Advertisement

Advanced thin client solution for Linux, based on Open Source. Mix Windows and Linux applications on the same desktop.

Advertise here

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)

Get Free Page

Posted Mar 26, 2008 12:08 UTC (Wed) by im14u2c (subscriber, #5246) [Link]

Google's "site:" feature is very handy. For example, to search just LWN, put "site:lwn.net" at the start of your search string, like this.

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.