summaryrefslogtreecommitdiffstats
path: root/Documentation/pwm.txt
diff options
context:
space:
mode:
authorXishi Qiu <qiuxishi@huawei.com>2016-04-01 23:31:20 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2016-04-02 00:03:37 +0200
commit6f25a14a7053b69917e2ebea0d31dd444cd31fd5 (patch)
tree48914967e96ffd5e054252cab541f15f768323ee /Documentation/pwm.txt
parentinclude/linux/huge_mm.h: return NULL instead of false for pmd_trans_huge_lock() (diff)
downloadlinux-6f25a14a7053b69917e2ebea0d31dd444cd31fd5.tar.xz
linux-6f25a14a7053b69917e2ebea0d31dd444cd31fd5.zip
mm: fix invalid node in alloc_migrate_target()
It is incorrect to use next_node to find a target node, it will return MAX_NUMNODES or invalid node. This will lead to crash in buddy system allocation. Fixes: c8721bbbdd36 ("mm: memory-hotplug: enable memory hotplug to handle hugepage") Signed-off-by: Xishi Qiu <qiuxishi@huawei.com> Acked-by: Vlastimil Babka <vbabka@suse.cz> Acked-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Cc: Joonsoo Kim <js1304@gmail.com> Cc: David Rientjes <rientjes@google.com> Cc: "Laura Abbott" <lauraa@codeaurora.org> Cc: Hui Zhu <zhuhui@xiaomi.com> Cc: Wang Xiaoqiang <wangxq10@lzu.edu.cn> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/pwm.txt')
0 files changed, 0 insertions, 0 deletions