[OS-BUILD PATCH 2/5] redhat/configs: Enable CONFIG_SCHED_STACK_END_CHECK for Fedora and ARK

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

 



From: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>

redhat/configs: Enable CONFIG_SCHED_STACK_END_CHECK for Fedora and ARK

CONFIG_SCHED_STACK_END_CHECK checks for stack overrun in calls to
schedule().  In internal testing, it had no measurable performance
impact.

Enable it for Fedora and ARK.

Signed-off-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>

diff a/redhat/configs/common/generic/CONFIG_SCHED_STACK_END_CHECK b/redhat/configs/common/generic/CONFIG_SCHED_STACK_END_CHECK
--- a/redhat/configs/common/generic/CONFIG_SCHED_STACK_END_CHECK
+++ b/redhat/configs/common/generic/CONFIG_SCHED_STACK_END_CHECK
@@ -1 +1 @@
-# CONFIG_SCHED_STACK_END_CHECK is not set
+CONFIG_SCHED_STACK_END_CHECK=y

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/961
_______________________________________________
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