Skip to Content
Mastering Linux Kernel Development
book

Mastering Linux Kernel Development

by CH Raghav Maruthi
October 2017
Intermediate to advanced
354 pages
9h 28m
English
Packt Publishing
Content preview from Mastering Linux Kernel Development

Action modifiers

The following code snippet defines action modifiers:

#define __GFP_COLD ((__force gfp_t)___GFP_COLD)#define __GFP_NOWARN ((__force gfp_t)___GFP_NOWARN)#define __GFP_COMP ((__force gfp_t)___GFP_COMP)#define __GFP_ZERO ((__force gfp_t)___GFP_ZERO)#define __GFP_NOTRACK ((__force gfp_t)___GFP_NOTRACK)#define __GFP_NOTRACK_FALSE_POSITIVE (__GFP_NOTRACK)#define __GFP_OTHER_NODE ((__force gfp_t)___GFP_OTHER_NODE)

Following is a list of action modifier flags; these flags specify additional attributes to be considered by the allocator routines while processing a request:

  • __GFP_COLD: To enable quick access, a few pages in each zone are cached into per-CPU caches; pages held in cache are referred to as hot, and uncached pages are referred ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux Kernel Development, Third Edition

Linux Kernel Development, Third Edition

Robert Love
Understanding the Linux Kernel

Understanding the Linux Kernel

Daniel P. Bovet, Marco Cesati
Linux Kernel Debugging

Linux Kernel Debugging

Kaiwan N. Billimoria

Publisher Resources

ISBN: 9781785883057Other