lkml.org 
[lkml]   [2006]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 10/21] mutex subsystem, debugging code

* Matt Helsley <matthltc@us.ibm.com> wrote:

> > Index: linux/kernel/fork.c
> > ===================================================================
> > --- linux.orig/kernel/fork.c
> > +++ linux/kernel/fork.c
> > @@ -973,6 +973,10 @@ static task_t *copy_process(unsigned lon
> > }
> > #endif
> >
> > +#ifdef CONFIG_DEBUG_MUTEXES
> > + p->blocked_on = NULL; /* not blocked yet */
> > +#endif
> > +
> > p->tgid = p->pid;
> > if (clone_flags & CLONE_THREAD)
> > p->tgid = current->tgid;
>
> Should there be a corresponding initialization of init's blocked_on
> field in include/linux/init_task.h?

no, since it's initialized to zero.

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-06 12:34    [W:0.037 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site