diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-06-10 19:43:53 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-06-10 19:43:53 -0400 |
commit | f5278565be81c9dccc10dc83d99f690f572b4fa7 (patch) | |
tree | 679d324d68a5c4ce62d7cdb246db3b316cad8154 /mm/memory_hotplug.c | |
parent | e64f638483a21105c7ce330d543fa1f1c35b5bc7 (diff) | |
parent | 5ec45a192fe6e287f0fc06d5ca4f3bd446d94803 (diff) |
Merge branch 'akpm' (patches from Andrew)
Merge misc fixes from Andrew Morton:
"The gcc-4.4.4 workaround has actually been merged into a KVM tree by
Paolo but it is stuck in linux-next and mainline needs it"
* emailed patches from Andrew Morton <akpm@linux-foundation.org>:
arch/x86/kvm/mmu.c: work around gcc-4.4.4 bug
sched, numa: do not hint for NUMA balancing on VM_MIXEDMAP mappings
zsmalloc: fix a null pointer dereference in destroy_handle_cache()
mm: memcontrol: fix false-positive VM_BUG_ON() on -rt
checkpatch: fix "GLOBAL_INITIALISERS" test
zram: clear disk io accounting when reset zram device
memcg: do not call reclaim if !__GFP_WAIT
mm/memory_hotplug.c: set zone->wait_table to null after freeing it
Diffstat (limited to 'mm/memory_hotplug.c')
-rw-r--r-- | mm/memory_hotplug.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index 457bde530cbe..9e88f749aa51 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c | |||
@@ -1969,8 +1969,10 @@ void try_offline_node(int nid) | |||
1969 | * wait_table may be allocated from boot memory, | 1969 | * wait_table may be allocated from boot memory, |
1970 | * here only free if it's allocated by vmalloc. | 1970 | * here only free if it's allocated by vmalloc. |
1971 | */ | 1971 | */ |
1972 | if (is_vmalloc_addr(zone->wait_table)) | 1972 | if (is_vmalloc_addr(zone->wait_table)) { |
1973 | vfree(zone->wait_table); | 1973 | vfree(zone->wait_table); |
1974 | zone->wait_table = NULL; | ||
1975 | } | ||
1974 | } | 1976 | } |
1975 | } | 1977 | } |
1976 | EXPORT_SYMBOL(try_offline_node); | 1978 | EXPORT_SYMBOL(try_offline_node); |