Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265586AbUALQ1Y (ORCPT ); Mon, 12 Jan 2004 11:27:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266159AbUALQ1X (ORCPT ); Mon, 12 Jan 2004 11:27:23 -0500 Received: from ida.rowland.org ([192.131.102.52]:23812 "HELO ida.rowland.org") by vger.kernel.org with SMTP id S265586AbUALQ1U (ORCPT ); Mon, 12 Jan 2004 11:27:20 -0500 Date: Mon, 12 Jan 2004 11:27:20 -0500 (EST) From: Alan Stern X-X-Sender: stern@ida.rowland.org To: Oliver Neukum cc: Matthew Dharm , David Brownell , Alan Cox , Marcelo Tosatti , Linux Kernel Mailing List , USB Developers , Greg KH Subject: Re: [linux-usb-devel] Re: USB hangs In-Reply-To: <200401120937.19131.oliver@neukum.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 816 Lines: 21 On Mon, 12 Jan 2004, Oliver Neukum wrote: > In 2.4 they all run in interrupt or thread context IIRC. > Problematic is the SCSI error handling thread. It can call usb_reset_device() > which calls down and does allocations. > Does that thread also do the PF_MEMALLOC trick? In 2.4 it doesn't, which is rather surpising considering how many storage devices run over SCSI transports. In 2.6 it sets PF_IOTHREAD. I don't know if that subsumes the function of PF_MEMALLOC or not. The state of kerneldoc for much of the Linux core functionality is shocking. Alan Stern - 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/