summaryrefslogtreecommitdiffstats
path: root/init/initramfs.c
diff options
context:
space:
mode:
authorYue Hu2019-05-14 02:18:14 +0200
committerLinus Torvalds2019-05-14 18:47:47 +0200
commit1df3a339074e31db95c4790ea9236874b13ccd87 (patch)
tree808458ab7f0be8a13d34a4c259fd68d4c2e20a10 /init/initramfs.c
parentmm: memcontrol: quarantine the mem_cgroup_[node_]nr_lru_pages() API (diff)
downloadkernel-qcow2-linux-1df3a339074e31db95c4790ea9236874b13ccd87.tar.gz
kernel-qcow2-linux-1df3a339074e31db95c4790ea9236874b13ccd87.tar.xz
kernel-qcow2-linux-1df3a339074e31db95c4790ea9236874b13ccd87.zip
mm/cma.c: fix crash on CMA allocation if bitmap allocation fails
f022d8cb7ec7 ("mm: cma: Don't crash on allocation if CMA area can't be activated") fixes the crash issue when activation fails via setting cma->count as 0, same logic exists if bitmap allocation fails. Link: http://lkml.kernel.org/r/20190325081309.6004-1-zbestahu@gmail.com Signed-off-by: Yue Hu <huyue2@yulong.com> Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Cc: Laura Abbott <labbott@redhat.com> Cc: Mike Rapoport <rppt@linux.vnet.ibm.com> Cc: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init/initramfs.c')
0 files changed, 0 insertions, 0 deletions