-
Notifications
You must be signed in to change notification settings - Fork 87
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
When does ktsan task destroy? #213
Comments
The ktsan task data structures are cleaned up (destroyed) by This function is called in Does it answer you question? |
The function finish_task_switch I can found.But I find that in finish_task_switch function, it's unlikely prev_state is TASK_DEAD.When I fork and exit processes frequently, the ktsan_task_destroy is slower than create, the maximum number of threads is reached。How can I deal with it? |
While testing , I found sometimes ktsan task is not destroy.At this time, task state is TASK_DEAD, but not enter finish_task_switch function.After adding some log, I found during context switch, task is switch.Why?When does ktsan task destroy?
The text was updated successfully, but these errors were encountered: