-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build, kcsan: Add KCSAN build exceptions
This blacklists several compilation units from KCSAN. See the respective inline comments for the reasoning. Signed-off-by: Marco Elver <[email protected]> Acked-by: Paul E. McKenney <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
- Loading branch information
1 parent
5f5c971
commit 0ebba71
Showing
4 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,12 @@ endif | |
# that is not a function of syscall inputs. E.g. involuntary context switches. | ||
KCOV_INSTRUMENT := n | ||
|
||
# There are numerous races here, however, most of them due to plain accesses. | ||
# This would make it even harder for syzbot to find reproducers, because these | ||
# bugs trigger without specific input. Disable by default, but should re-enable | ||
# eventually. | ||
KCSAN_SANITIZE := n | ||
|
||
ifneq ($(CONFIG_SCHED_OMIT_FRAME_POINTER),y) | ||
# According to Alan Modra <[email protected]>, the -fno-omit-frame-pointer is | ||
# needed for x86 only. Why this used to be enabled for all architectures is beyond | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters