Messages in this thread | | | Date | Fri, 6 Jan 2006 12:31:36 +0100 | From | Ingo Molnar <> | Subject | Re: [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/
| |