Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361675
b: refs/heads/master
c: ca4b3f3
h: refs/heads/master
i:
  361673: 6a6dfbc
  361671: 1de0edc
v: v3
  • Loading branch information
Jianguo Wu authored and Linus Torvalds committed Mar 22, 2013
1 parent f5ad14f commit 58df6cc
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 96e7d7a1e0fc7780b4c1981c787e42473aa91a95
refs/heads/master: ca4b3f302c90de5e516296e581c31c80125cd24b
6 changes: 5 additions & 1 deletion trunk/mm/memory_hotplug.c
Original file line number Diff line number Diff line change
Expand Up @@ -1779,7 +1779,11 @@ void try_offline_node(int nid)
for (i = 0; i < MAX_NR_ZONES; i++) {
struct zone *zone = pgdat->node_zones + i;

if (zone->wait_table)
/*
* wait_table may be allocated from boot memory,
* here only free if it's allocated by vmalloc.
*/
if (is_vmalloc_addr(zone->wait_table))
vfree(zone->wait_table);
}

Expand Down

0 comments on commit 58df6cc

Please sign in to comment.