lkml.org 
[lkml]   [2019]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCHv7] x86/kdump: bugfix, make the behavior of crashkernel=X consistent with kaslr
    On Fri, Feb 22, 2019 at 02:00:26PM +0100, Borislav Petkov wrote:
    > On Fri, Feb 22, 2019 at 09:42:41AM +0100, Joerg Roedel wrote:
    > > The current default of 256MB was found by experiments on a bigger
    > > number of machines, to create a reasonable default that is at least
    > > likely to be sufficient of an average machine.
    >
    > Exactly, and this is what makes sense.
    >
    > The code should try the requested reservation and if it fails, it should
    > try high allocation with default swiotlb size because we need to reserve
    > *some* range.

    Right, makes sense. While at it, maybe it is time to move the default
    allocation policy to 'high' again. The change was reverted six years ago
    because it broke old kexec tools, but those are probably out-of-service
    now. I think this change would make the whole crashdump allocation
    process less fragile.

    Regards,

    Joerg

    \
     
     \ /
      Last update: 2019-02-25 12:01    [W:3.381 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site