Skip to content
Commit ca4b3f30 authored by Jianguo Wu's avatar Jianguo Wu Committed by Linus Torvalds
Browse files

mm/hotplug: only free wait_table if it's allocated by vmalloc



zone->wait_table may be allocated from bootmem, it can not be freed.

Signed-off-by: default avatarJianguo Wu <wujianguo@huawei.com>
Reviewed-by: default avatarTang Chen <tangchen@cn.fujitsu.com>
Cc: Tang Chen <tangchen@cn.fujitsu.com>
Cc: Jiang Liu <jiang.liu@huawei.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 96e7d7a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment