lkml.org 
[lkml]   [2009]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC PATCH 7/X] ptrace: mv task->parent ptrace_task->pt_tracer
Date
> This is optimization. If exit_code == 0 we do not need to fixup
> ->last_siginfo. Note that we have another "child->exit_code = exit_code"
> below in the slow path.

Ok, I see.

> > It can check for !child->last_siginfo before lock_task_sighand().
>
> ptrace_stop() always sets ->last_siginfo != NULL.

Oh, right. It's only job control stops where it's NULL.

> OK, lets do this change later ;)

Agreed.


Thanks,
Roland


\
 
 \ /
  Last update: 2009-05-28 02:35    [W:0.683 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site