Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265441AbUAPNPA (ORCPT ); Fri, 16 Jan 2004 08:15:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265442AbUAPNPA (ORCPT ); Fri, 16 Jan 2004 08:15:00 -0500 Received: from gprs214-224.eurotel.cz ([160.218.214.224]:896 "EHLO amd.ucw.cz") by vger.kernel.org with ESMTP id S265441AbUAPNO7 (ORCPT ); Fri, 16 Jan 2004 08:14:59 -0500 Date: Fri, 16 Jan 2004 14:14:46 +0100 From: Pavel Machek To: Alan Stern Cc: Oliver Neukum , Matthew Dharm , David Brownell , Alan Cox , Marcelo Tosatti , Linux Kernel Mailing List , USB Developers , Greg KH Subject: Re: [linux-usb-devel] Re: USB hangs Message-ID: <20040116131446.GA874@elf.ucw.cz> References: <200401120937.19131.oliver@neukum.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 968 Lines: 26 Hi! > > 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. PF_IOTHREAD is there for suspend/resume. It does not affect anything else. Pavel -- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] - 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/