Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45103
b: refs/heads/master
c: 96ac591
h: refs/heads/master
i:
  45101: 03d83f6
  45099: 6a64feb
  45095: 67fbbd5
  45087: 0a7558d
v: v3
  • Loading branch information
KAMEZAWA Hiroyuki authored and Linus Torvalds committed Dec 30, 2006
1 parent 5f791cb commit 37143e9
Show file tree
Hide file tree
Showing 2 changed files with 7 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: e4e6bdbb426d1ecd9e4587f22115f8d0d426d21f
refs/heads/master: 96ac5913f4e45c6a1b98350f2c0a8bb3abe2646a
7 changes: 6 additions & 1 deletion trunk/mm/oom_kill.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,12 @@ static inline int constrained_alloc(struct zonelist *zonelist, gfp_t gfp_mask)
{
#ifdef CONFIG_NUMA
struct zone **z;
nodemask_t nodes = node_online_map;
nodemask_t nodes;
int node;
/* node has memory ? */
for_each_online_node(node)
if (NODE_DATA(node)->node_present_pages)
node_set(node, nodes);

for (z = zonelist->zones; *z; z++)
if (cpuset_zone_allowed_softwall(*z, gfp_mask))
Expand Down

0 comments on commit 37143e9

Please sign in to comment.