In exteme case vmcore-dmesg will overflow. upstream has fixed the some problem. so simply backport it Signed-off-by: Arthur Zou <zzou@redhat.com> Acked-by: WANG Chao <chaowang@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com>