From: Waiman Long <longman@xxxxxxxxxx> redhat/configs: Enable CONFIG_KASAN_INLINE for RT debug kernel Enabling CONFIG_KASAN_INLINE has the effect of improving RT debug kernel performance by up to 2x depending on the workloads and architecture. The downside is the increase in the kernel text size by up to 50%. This may make the RT debug kernel harder to run on systems with limited memory. So it is a trade off. Since RT debug kernel performance is becoming a problem, just move the rt/debug CONFIG_KASAN_{INLINE,OUTLINE} files to automotive/debug so that RT debug kernel will now use CONFIG_KASAN_INLINE while the automative debug kernel will continue to use CONFIG_KASAN_OUTLINE as the automative systems are likely to have less memory. Signed-off-by: Waiman Long <longman@xxxxxxxxxx> diff --git a/redhat/configs/rhel/rt/debug/CONFIG_KASAN_INLINE b/redhat/configs/rhel/automotive/debug/CONFIG_KASAN_INLINE rename from redhat/configs/rhel/rt/debug/CONFIG_KASAN_INLINE rename to redhat/configs/rhel/automotive/debug/CONFIG_KASAN_INLINE index blahblah..blahblah 100644 --- a/redhat/configs/rhel/rt/debug/CONFIG_KASAN_INLINE +++ b/redhat/configs/rhel/automotive/debug/CONFIG_KASAN_INLINE diff --git a/redhat/configs/rhel/rt/debug/CONFIG_KASAN_OUTLINE b/redhat/configs/rhel/automotive/debug/CONFIG_KASAN_OUTLINE rename from redhat/configs/rhel/rt/debug/CONFIG_KASAN_OUTLINE rename to redhat/configs/rhel/automotive/debug/CONFIG_KASAN_OUTLINE index blahblah..blahblah 100644 --- a/redhat/configs/rhel/rt/debug/CONFIG_KASAN_OUTLINE +++ b/redhat/configs/rhel/automotive/debug/CONFIG_KASAN_OUTLINE -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3696 -- _______________________________________________ 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, report it: https://pagure.io/fedora-infrastructure/new_issue