Re: [OS-BUILD PATCHv2 0/2] enable CONFIG_CMA on x86_64 in ARK

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: David Hildenbrand on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1023#note_552329069

Sure, but keep in mind that it will be tech preview and is similarly
enabled already in Fedora.

However, you remind me of an interesting case: kdump and CMA
reservations

We would be in trouble if we were to automatically create big CMA
regions in the kdump kernel (where we have limited memory), either from
the kernel, like with CMA_SIZE_MBYTES, or via cmdline, like "cmd=2G".
While often such allocations attempts will fail and still allow the
kdump kernel to boot, there can be cases where it will "just work" and
kdump itself might later because it doesn't have sufficient memory
available.

Fortunately, on x86-64 we we have CMA_SIZE_MBYTES set to 0 MiB and our
kdump kernel won't be booted with any "cma=", "hugetlb_cma=" parameters
that might have been specified for the !kdump kernel. So there, we seem
to be fine.

On s390x, we reserve as default a CMA region with 4 MiB. On ppc64 with
HV support, we reserve as default a CMA region with 5% of the
memblock_phys_mem_size() for KVM use; We might want to disable the
latter via is_kdump_kernel() upstream.
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux