[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>
This commit is contained in:
committed by
Linus Torvalds
parent
7365f3d169
commit
4eac915d02
@@ -931,7 +931,8 @@ restart:
|
||||
*
|
||||
* The caller may dip into page reserves a bit more if the caller
|
||||
* cannot run direct reclaim, or if the caller has realtime scheduling
|
||||
* policy.
|
||||
* policy or is asking for __GFP_HIGH memory. GFP_ATOMIC requests will
|
||||
* set both ALLOC_HARDER (!wait) and ALLOC_HIGH (__GFP_HIGH).
|
||||
*/
|
||||
alloc_flags = ALLOC_WMARK_MIN;
|
||||
if ((unlikely(rt_task(p)) && !in_interrupt()) || !wait)
|
||||
|
Reference in New Issue
Block a user