diff options
author | Christoph Lameter <clameter@sgi.com> | 2006-09-26 08:31:46 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-26 17:48:50 +0200 |
commit | 980128f223fa3c75e3ebdde650c9f1bcabd4c0a2 (patch) | |
tree | b0fa592cf621cebc674b9ec1a4ab4e2558ec7aaf /include | |
parent | [PATCH] Profiling: require buffer allocation on the correct node (diff) | |
download | linux-980128f223fa3c75e3ebdde650c9f1bcabd4c0a2.tar.xz linux-980128f223fa3c75e3ebdde650c9f1bcabd4c0a2.zip |
[PATCH] Define easier to handle GFP_THISNODE
In many places we will need to use the same combination of flags. Specify
a single GFP_THISNODE definition for ease of use in gfp.h.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/gfp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/gfp.h b/include/linux/gfp.h index 0eda5b6dedbd..8b34aabfe4c6 100644 --- a/include/linux/gfp.h +++ b/include/linux/gfp.h @@ -67,6 +67,8 @@ struct vm_area_struct; #define GFP_HIGHUSER (__GFP_WAIT | __GFP_IO | __GFP_FS | __GFP_HARDWALL | \ __GFP_HIGHMEM) +#define GFP_THISNODE (__GFP_THISNODE | __GFP_NOWARN | __GFP_NORETRY) + /* Flag - indicates that the buffer will be suitable for DMA. Ignored on some platforms, used as appropriate on others */ |