On Fri, Oct 11, 2019 at 8:36 PM Qian Cai <[email protected]> wrote: > > Typically, kdump kernel has its own initramfs, and don’t even need to mount a > rootfs, so I can’t see how sysfs/sysctl is relevant here.
Thanks for the quick response. Kdump in Ubuntu, for example, rely in mounting the root filesystem. Even in initrd-only approaches, we could have sysctl.conf being copied to initramfs, and hugepages end-up getting set. Also, I don't think the "nohugepages" is useful only for kdump - I found odd we cannot prevent the creation of hugepages at all when using sysfs writes. Cheers, Guilherme

