2b7d3a Disable CMA in kdump 2nd kernel

Authored and Committed by liutgnu 3 years ago
    Disable CMA in kdump 2nd kernel
    
    Resolves: bz1950885
    Upstream: fedora
    Conflict: none
    
    commit d5fe96cd7a779984bf2ba4c8dc51cd10c7e37efd
    Author: Tao Liu <ltao@redhat.com>
    Date:   Tue Apr 27 17:58:40 2021 +0800
    
        Disable CMA in kdump 2nd kernel
    
        kexec-tools needs to disable CMA for kdump kernel cmdline,
        otherwise kdump kernel may run out of memory.
    
        This patch strips the inherited cma=, hugetlb_cma= cmd
        line from 1st kernel, and sets to be 0 for 2nd kernel.
    
        Signed-off-by: Tao Liu <ltao@redhat.com>
        Acked-by: Kairui Song <kasong@redhat.com>
    
    Signed-off-by: Tao Liu <ltao@redhat.com>
    
        
file modified
+2 -2
file modified
+2 -2
file modified
+2 -2
file modified
+2 -2
file modified
+2 -2
file modified
+2 -2
file modified
+2 -2