I didn’t try FLATMEM. Thanks for advising, I enabled FLATMEM for ARM64 and am 
able to save ~14M. Will post a new patch for Kconfig changes.

Thanks,
-Nikunj

On 7/5/18, 11:35 AM, "Catalin Marinas" <[email protected]> wrote:

    On Tue, Jul 03, 2018 at 06:35:32PM +0000, Nikunj Kela (nkela) wrote:
    > We are trying to reduce the memory allocation needed for kdump kernel.
    > We want to reserve less than 32M for kdump kernel if possible. We are
    > able to get ~14M saving by the proposed change.
    
    Have you tried disabling SPARSEMEM and using FLATMEM for this case? With
    32M you wouldn't need more than a section anyway. It needs some tweaking
    of the arm64 Kconfig and probably fail to build.
    
    -- 
    Catalin
    

Reply via email to