On Wed, 19 Feb 2025 18:55:31 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
On Thu, 20 Feb 2025 07:56:39 +0900Should we make it depends on DEBUG_MUTEXES too? I think no. We can introduce
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> wrote:
Updating the task_struct would be in the same location as the blocked_on isDo we need to take it just for accessing owner, which is in an atomic?this field, we don't need to take lock, though taking the wait_lock may
still be needed to examine other information inside the mutex.
anyway. I would make it into a wrapper function that is a nop when disabled.
a different kconfig and wrapper function which calls debug_mutex_*().