Re: [GIT PULL] timer fixes
From: Ingo Molnar
Date: Sun Aug 14 2022 - 05:00:14 EST
* Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> I think the issue is that "current->sighand" is always safe (and that
> "me->sighand" is the same thing), and that sighand has RCU-delayed
> freeing so that __lock_task_sighand() can safely try to take the lock of
> another process' sighand.
Yeah - 'me' (== current) here can never go away from under the locking
context which is 'me' as well.
Thanks,
Ingo