diff options
| author | Andrew Morton <akpm@zip.com.au> | 2002-07-04 08:31:30 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-07-04 08:31:30 -0700 |
| commit | 193ae03649cdb7e0f0952314e3fac2c850b3d86a (patch) | |
| tree | 350c499b0c4c93ecb4fc6f9c8e55dd00d7e95b60 /include/linux | |
| parent | a2b41d233e7dd5a78f7eac7491f06c5fdce8ae6a (diff) | |
[PATCH] suppress more allocation failure warnings
The `page allocation failure' warning in __alloc_pages() is being a
pain. But I'm persisting with it...
The patch renames PF_RADIX_TREE to PF_NOWARN, and uses it in a few
places where allocations failures are known to happen. These code
paths are well-tested now and suppressing the warning is OK.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 29410b021b6c..8f76bcdae1eb 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -386,7 +386,7 @@ do { if (atomic_dec_and_test(&(tsk)->usage)) __put_task_struct(tsk); } while(0) #define PF_MEMDIE 0x00001000 /* Killed for out-of-memory */ #define PF_FREE_PAGES 0x00002000 /* per process page freeing */ #define PF_FLUSHER 0x00004000 /* responsible for disk writeback */ -#define PF_RADIX_TREE 0x00008000 /* debug: performing radix tree alloc */ +#define PF_NOWARN 0x00008000 /* debug: don't warn if alloc fails */ #define PF_FREEZE 0x00010000 /* this task should be frozen for suspend */ #define PF_IOTHREAD 0x00020000 /* this thread is needed for doing I/O to swap */ |
