Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

false positives on irq stack #210

Open
dvyukov opened this issue Sep 23, 2015 · 0 comments
Open

false positives on irq stack #210

dvyukov opened this issue Sep 23, 2015 · 0 comments
Labels
bug KTSAN KTSAN-related issues wontfix

Comments

@dvyukov
Copy link
Collaborator

dvyukov commented Sep 23, 2015

Interrupt stack irq_stack_ptr is shared between all interrupts on the same CPU. But these interrupts can happen on different threads. As the result KTSAN can produce false positives on IRQ stack. Namely interrupt 1 that executes on thread 1 writes to IRQ stack. Then interrupt 2 that executes on thread 2 writes to the same location of IRQ stack. If thread 2 and thread 1 are not synchronized, KTSAN will report a race. This is a pure mental experiment, but I don't see why it can't happen.

@xairy xairy transferred this issue from google/ktsan Dec 23, 2021
@xairy xairy added bug KTSAN KTSAN-related issues labels Dec 23, 2021
@melver melver added the wontfix label Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug KTSAN KTSAN-related issues wontfix
Projects
None yet
Development

No branches or pull requests

3 participants