Re: [PATCH] kill_something_info: don't take tasklist_lock for pid==-1 case

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Atsushi TSUJI
Date: Monday, May 26, 2008 - 12:03 am

Hi Eric,

Thank you for your comments.

Eric W. Biederman wrote:

I know it might happen some races, but, as Oleg say, it is no problem
on the user side. Users cannot realize whether the process forked
during kill or after. We can pretend it was forked after kill
finished. So I think the change to convert tasklist_lock to
rcu_read_lock is reasonable way to avoid the local DOS for kill(-1,sig) case.


I think this idea is good for __kill_pgrp_info(), but it is a big change.

Thanks,
-Atsushi Tsuji
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] kill_something_info: don't take tasklist_lock ..., Eric W. Biederman, (Tue May 20, 7:53 pm)
Re: [PATCH] kill_something_info: don't take tasklist_lock ..., Eric W. Biederman, (Tue May 20, 8:47 pm)
Re: [PATCH] kill_something_info: don't take tasklist_lock ..., Atsushi TSUJI, (Mon May 26, 12:03 am)
Re: [PATCH] kill_something_info: don't take tasklist_lock ..., Eric W. Biederman, (Wed May 28, 8:03 am)
Re: [PATCH] kill_something_info: don't take tasklist_lock ..., Eric W. Biederman, (Sat May 31, 4:55 pm)