diff options
| author | 2006-01-11 12:17:19 -0800 | |
|---|---|---|
| committer | 2006-01-11 18:42:09 -0800 | |
| commit | 4eac915d02453e81a32595cd7423492c81337a26 (patch) | |
| tree | 2c652730cdf2cb0015cf59a8f75506c917685091 /include/linux/gfp.h | |
| parent | [PATCH] Restore KERN_EMERG to each line printed by bad_page (diff) | |
| download | linux-dev-4eac915d02453e81a32595cd7423492c81337a26.tar.xz linux-dev-4eac915d02453e81a32595cd7423492c81337a26.zip | |
[PATCH] mm: gfp_atomic comments
Clarify in comments that GFP_ATOMIC means both "don't sleep" and "use
emergency pools", hence both ALLOC_HARDER and ALLOC_HIGH.
Signed-off-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/gfp.h')
| -rw-r--r-- | include/linux/gfp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/gfp.h b/include/linux/gfp.h index 8b2eab90abb6..da7ce8730e97 100644 --- a/include/linux/gfp.h +++ b/include/linux/gfp.h @@ -57,6 +57,7 @@ struct vm_area_struct; __GFP_NOFAIL|__GFP_NORETRY|__GFP_NO_GROW|__GFP_COMP| \ __GFP_NOMEMALLOC|__GFP_HARDWALL) +/* GFP_ATOMIC means both !wait (__GFP_WAIT not set) and use emergency pool */ #define GFP_ATOMIC (__GFP_HIGH) #define GFP_NOIO (__GFP_WAIT) #define GFP_NOFS (__GFP_WAIT | __GFP_IO) |
