Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17887
b: refs/heads/master
c: 4eac915
h: refs/heads/master
i:
  17885: 1c001ab
  17883: 95548e1
  17879: 685d88e
  17871: c2b4046
  17855: ac0799b
v: v3
  • Loading branch information
Paul Jackson authored and Linus Torvalds committed Jan 12, 2006
1 parent be49e6b commit 805bfd6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7365f3d169a1eae00e713c1a4eea90e86415dcc5
refs/heads/master: 4eac915d02453e81a32595cd7423492c81337a26
1 change: 1 addition & 0 deletions trunk/include/linux/gfp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 2 additions & 1 deletion trunk/mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,8 @@ __alloc_pages(gfp_t gfp_mask, unsigned int order,
*
* 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)
Expand Down

0 comments on commit 805bfd6

Please sign in to comment.