Re: [PATCH] hugetlb: Add nohugepages parameter to prevent hugepages creation

From: Qian Cai
Date: Fri Oct 11 2019 - 19:52:52 EST




> On Oct 11, 2019, at 7:42 PM, Guilherme Piccoli <gpiccoli@xxxxxxxxxxxxx> wrote:
>
> 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.

It simply error-prone to reuse the sysctl.conf from the first kernel, as it could contains lots of things that will kill kdump kernel.