[lkml]   [2012]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2] ns: do not block exit_task_namespaces() for a long time
On Mon, Jul 16, 2012 at 06:09:24PM +0300, Kirill A. Shutemov wrote:
> I also move synchronize_rcu() inside free_nsproxy(). It fixes racy
> put_nsproxy() which calls free_nsproxy() without synchronize_rcu().
> I guess it was missed during switch to RCU (see cf7b708).

I was wrong here. No races. RCU protects task->ns_proxy, not ns_proxy
Sorry for misleading.

Kirill A. Shutemov
[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2012-07-16 23:41    [W:0.126 / U:1.680 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site