diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-08-23 21:25:56 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-08-23 21:25:56 -0700 |
| commit | 29d15009ea0163a65b3f46a71d2f16d4150cfc98 (patch) | |
| tree | e1a75a1bac9e79b7f8fe1f5b62e088f7842bfc75 /kernel/audit.c | |
| parent | ac12db05e3093de2624d842dc2677621f49d0d74 (diff) | |
[PATCH] alloc_pages priority tuning
Fix up the logic which decides when the caller can dip into page reserves.
- If the caller has realtime scheduling policy, or if the caller cannot run
direct reclaim, then allow the caller to use up to a quarter of the page
reserves.
- If the caller has __GFP_HIGH then allow the caller to use up to half of
the page reserves.
- If the caller has PF_MEMALLOC then the caller can use 100% of the page
reserves.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/audit.c')
0 files changed, 0 insertions, 0 deletions
