Messages in this thread | | | Date | Mon, 24 Aug 2009 12:50:54 +0200 | From | Oleg Nesterov <> | Subject | Re: [PATCH] fix race copy_process() vs de_thread() |
| |
On 08/24, Roland McGrath wrote: > > I think I like your first patch better. It's a larger patch, but that's > because it winds up with smaller code.
Yes, agreed.
And another reason for the first patch: ->live should not be used as a refcnt, it is not. This should work for copy_process() but looks confusing and relies on CLONE_THREAD subtleness anyway.
I'll re-check this patch and resend. I guess -stable needs this fix too.
Oleg.
| |