mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matthew Dharm <mdharm-kernel@one-eyed-alien.net>
To: Greg KH <greg@kroah.com>
Cc: Alan Stern <stern@rowland.org>, linux-kernel@vger.kernel.org
Subject: Re: Daemonize() should re-parent its caller
Date: Wed, 23 Jan 2002 13:18:43 -0800	[thread overview]
Message-ID: <20020123131843.H31707@one-eyed-alien.net> (raw)
In-Reply-To: <Pine.LNX.4.33L2.0201231050440.687-100000@ida.rowland.org> <20020123205804.GA15259@kroah.com>
In-Reply-To: <20020123205804.GA15259@kroah.com>; from greg@kroah.com on Wed, Jan 23, 2002 at 12:58:04PM -0800

[-- Attachment #1: Type: text/plain, Size: 1452 bytes --]

He's looking at the "zombie-thread on unload" problem, which is different
from the "long delay at shutdown" problem.

Matt

On Wed, Jan 23, 2002 at 12:58:04PM -0800, Greg KH wrote:
> On Wed, Jan 23, 2002 at 10:54:44AM -0500, Alan Stern wrote:
> > 
> > If the parent is init or another user process, we can reasonably
> > expect that the zombie will be reaped eventually.  But what if the
> > parent is another kernel thread?  This situation arises in the USB
> > mass-storage device driver, where the device manager and scsi
> > error-handler threads are spawned (indirectly) by the khubd kernel
> > thread.
> 
> What problem are you seeing with the khubd and USB mass-storage kernel
> threads?  There is a patch in the most recent kernel versions that
> slightly modifies the usb-storage kernel thread logic, supposedly to fix
> a problem that people were having under very long scsi timeouts.
> 
> thanks,
> 
> greg k-h
> -
> 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/

-- 
Matthew Dharm                              Home: mdharm-usb@one-eyed-alien.net 
Maintainer, Linux USB Mass Storage Driver

Pitr!  That's brilliant!  Funded by Microsoft refunds.  What sweet irony!
					-- A.J.
User Friendly, 2/15/1999

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

  reply	other threads:[~2002-01-23 21:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-23 15:54 Alan Stern
2002-01-23 19:46 ` Andrew Morton
2002-01-23 20:28   ` Alan Stern
2002-01-23 20:58 ` Greg KH
2002-01-23 21:18   ` Matthew Dharm [this message]
2002-01-27 19:48 ` Alan Cox

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=20020123131843.H31707@one-eyed-alien.net \
    --to=mdharm-kernel@one-eyed-alien.net \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stern@rowland.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

all inboxes | Powered by JetHome®