What is the meaning of GFP
Posted Mar 26, 2008 5:42 UTC (Wed) by pr1268
In reply to: Atomic context and kernel API design
Parent article: Atomic context and kernel API design
My guess is "Get Free Page" (with various qualifier suffixes, i.e. GFP_KERNEL, GFP_ATOMIC, GFP_DMA, etc.).
It's strange that, after nearly an hour of grepping files throughout the entire Linux source tree, I was unable to come up with a meaning. My search took me all over the mm/, include/linux/, Documentation/, and kernel/ directories, but to no avail. The meaning of GFP_KERNEL via a Google search (going five pages deep) was equally elusive!
I suppose there are many kernel developers out there who know its true meaning whilst snickering over my frustrated search...
to post comments)