lkml.org 
[lkml]   [2009]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 08/12] add trace events for each syscall entry/exit

On Wed, 26 Aug 2009, Frederic Weisbecker wrote:
> >
> > All kernel threads have a NULL t->mm. Since do_fork is called by kthreadd
> > and not by kthread_create, the caller of do_fork will also have a
> > t->mm = NULL.
> >
> > -- Steve
> >
>
> Yeah, that's the case with kthread_create() creation fashion,
> but what if you create a kernel thread using the low level
> kernel_thread() directly (ie: without relaying on kthreadd queue)?
>
> Especially in Heiko example, it seems to be a duplication of user
> task.
>
> I wonder what obvious think I'm missing here...

The obvious is that those calls are buggy ;-)

-- Steve



\
 
 \ /
  Last update: 2009-08-26 16:47    [W:0.111 / U:1.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site