Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156047
b: refs/heads/master
c: 1fc28b7
h: refs/heads/master
i:
  156045: ea278ba
  156043: c0c3d66
  156039: ccb5b3e
  156031: 8c219f8
v: v3
  • Loading branch information
Mel Gorman authored and Linus Torvalds committed Jul 30, 2009
1 parent 9c421f6 commit 713f8c3
Show file tree
Hide file tree
Showing 2 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: 887032670d47366a8c8f25396ea7c14b7b2cc620
refs/heads/master: 1fc28b70fe2dbf87e061b6ce5091a1f8e4e5d4e7
4 changes: 3 additions & 1 deletion trunk/mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1745,8 +1745,10 @@ __alloc_pages_slowpath(gfp_t gfp_mask, unsigned int order,
* be using allocators in order of preference for an area that is
* too large.
*/
if (WARN_ON_ONCE(order >= MAX_ORDER))
if (order >= MAX_ORDER) {
WARN_ON_ONCE(!(gfp_mask & __GFP_NOWARN));
return NULL;
}

/*
* GFP_THISNODE (meaning __GFP_THISNODE, __GFP_NORETRY and
Expand Down

0 comments on commit 713f8c3

Please sign in to comment.