Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156932
b: refs/heads/master
c: 7f9cfb3
h: refs/heads/master
v: v3
  • Loading branch information
Bo Liu authored and Linus Torvalds committed Aug 18, 2009
1 parent dcbe63d commit b8fbc16
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: 503f7944fac68f4fdf71f8ebd06907f51eb64515
refs/heads/master: 7f9cfb31030737a7fc9a1cbca3fd01bec184c849
4 changes: 3 additions & 1 deletion trunk/mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2544,7 +2544,6 @@ static void build_zonelists(pg_data_t *pgdat)
prev_node = local_node;
nodes_clear(used_mask);

memset(node_load, 0, sizeof(node_load));
memset(node_order, 0, sizeof(node_order));
j = 0;

Expand Down Expand Up @@ -2653,6 +2652,9 @@ static int __build_all_zonelists(void *dummy)
{
int nid;

#ifdef CONFIG_NUMA
memset(node_load, 0, sizeof(node_load));
#endif
for_each_online_node(nid) {
pg_data_t *pgdat = NODE_DATA(nid);

Expand Down

0 comments on commit b8fbc16

Please sign in to comment.