lkml.org 
[lkml]   [2009]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/2] posix-cpu-timers: use ->sighand instead of ->signal to check the task is alive
From
Date
On Wed, 2009-02-04 at 00:17 +0100, Oleg Nesterov wrote:
> Sadly, it is not trivial to audit kernel/posix-cpu-timers.c, but it really
> abuses tasklist_lock. I believe it doesn't need this lock at all, but the
> changes are not easy to test.

It uses that to hold of task reaping so ->signal doesn't go away.

If we make ->signal refcountable, and rcu freed along with the tasks I
think we can get away without tasklist_lock.



\
 
 \ /
  Last update: 2009-02-04 12:23    [W:0.105 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site