public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Sripathi Kodi <sripathik@in.ibm.com>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Dinakar Guniguntala <dino@in.ibm.com>,
	linux-kernel@vger.kernel.org, Roland McGrath <roland@redhat.com>,
	Ingo Molnar <mingo@elte.hu>, Andrew Morton <akpm@osdl.org>
Subject: Re: [PATCH] do_wait fix for 2.6.10-rc1
Date: Thu, 11 Nov 2004 16:50:08 +0530	[thread overview]
Message-ID: <41934AE8.7040008@in.ibm.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0411100903290.2301@ppc970.osdl.org>

Linus Torvalds wrote:

>On Wed, 10 Nov 2004, Dinakar Guniguntala wrote:
>  
>
>>How about if we set the flag only in the cases when the exit state is not
>>either TASK_DEAD or TASK_ZOMBIE. 
>>    
>>
>
>Why TASK_DEAD? We can't reap such a process anyway, no? But yes, I agree 
>with the approach.
>
>		Linus
>  
>
Linus,

Yes, when we see a process in TASK_DEAD state, we can't reap it. We 
shouldn't set the flag in this scenario because we have not really found 
an eligible child (one in any state other than TASK_DEAD). So we need to 
go back to parsing the list of children as if we have not found an 
eligible child at all.

Please let us know if this argument is correct and if we have reached 
the final shape for this fix.

Thanks,
Sripathi.

      reply	other threads:[~2004-11-11 11:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-05  9:57 [PATCH] do_wait fix for 2.6.10-rc1 Sripathi Kodi
2004-11-05 10:03 ` Ingo Molnar
     [not found] ` <Pine.LNX.4.58.0411051101500.30457@ppc970.osdl.org>
2004-11-08 14:27   ` Sripathi Kodi
2004-11-08 16:01     ` Linus Torvalds
2004-11-08 16:13       ` Linus Torvalds
2004-11-08 16:37         ` Linus Torvalds
2004-11-09  1:09           ` Linus Torvalds
2004-11-09 14:31             ` Dinakar Guniguntala
2004-11-09 16:11               ` Linus Torvalds
2004-11-10 14:35                 ` Dinakar Guniguntala
2004-11-10 17:04                   ` Linus Torvalds
2004-11-11 11:20                     ` Sripathi Kodi [this message]

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=41934AE8.7040008@in.ibm.com \
    --to=sripathik@in.ibm.com \
    --cc=akpm@osdl.org \
    --cc=dino@in.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=roland@redhat.com \
    --cc=torvalds@osdl.org \
    /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