Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26857
b: refs/heads/master
c: bdd804f
h: refs/heads/master
i:
  26855: ac3b123
v: v3
  • Loading branch information
Paul Jackson authored and Linus Torvalds committed May 21, 2006
1 parent d7f3069 commit 41bbd98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 593ee20766921fec643194dff829e17f30552220
refs/heads/master: bdd804f478a0cc74bf7db8e9f9d5fd379d1b31ca
5 changes: 3 additions & 2 deletions trunk/mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@ __alloc_pages(gfp_t gfp_mask, unsigned int order,
goto got_pg;

do {
if (cpuset_zone_allowed(*z, gfp_mask))
if (cpuset_zone_allowed(*z, gfp_mask|__GFP_HARDWALL))
wakeup_kswapd(*z, order);
} while (*(++z));

Expand All @@ -970,7 +970,8 @@ __alloc_pages(gfp_t gfp_mask, unsigned int order,
alloc_flags |= ALLOC_HARDER;
if (gfp_mask & __GFP_HIGH)
alloc_flags |= ALLOC_HIGH;
alloc_flags |= ALLOC_CPUSET;
if (wait)
alloc_flags |= ALLOC_CPUSET;

/*
* Go through the zonelist again. Let __GFP_HIGH and allocations
Expand Down

0 comments on commit 41bbd98

Please sign in to comment.