public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Matt Helsley <matthltc@us.ibm.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>,
	Arjan van de Ven <arjan@infradead.org>,
	Nicolas Pitre <nico@cam.org>,
	Jes Sorensen <jes@trained-monkey.org>,
	Al Viro <viro@ftp.linux.org.uk>, Oleg Nesterov <oleg@tv-sign.ru>,
	David Howells <dhowells@redhat.com>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>,
	Christoph Hellwig <hch@infradead.org>, Andi Kleen <ak@suse.de>,
	Russell King <rmk+lkml@arm.linux.org.uk>
Subject: Re: [patch 10/21] mutex subsystem, debugging code
Date: Fri, 6 Jan 2006 12:31:36 +0100	[thread overview]
Message-ID: <20060106113136.GA18323@elte.hu> (raw)
In-Reply-To: <1136497623.22868.180.camel@stark>


* 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

  reply	other threads:[~2006-01-06 11:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-05 15:38 [patch 10/21] mutex subsystem, debugging code Ingo Molnar
2006-01-05 21:47 ` Matt Helsley
2006-01-06 11:31   ` Ingo Molnar [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-01-04 14:43 Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060106113136.GA18323@elte.hu \
    --to=mingo@elte.hu \
    --cc=ak@suse.de \
    --cc=akpm@osdl.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=arjan@infradead.org \
    --cc=dhowells@redhat.com \
    --cc=hch@infradead.org \
    --cc=jes@trained-monkey.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matthltc@us.ibm.com \
    --cc=nico@cam.org \
    --cc=oleg@tv-sign.ru \
    --cc=rmk+lkml@arm.linux.org.uk \
    --cc=torvalds@osdl.org \
    --cc=viro@ftp.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox