From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932409AbcG0TXO (ORCPT ); Wed, 27 Jul 2016 15:23:14 -0400 Received: from mail-yw0-f196.google.com ([209.85.161.196]:36032 "EHLO mail-yw0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756845AbcG0TXM (ORCPT ); Wed, 27 Jul 2016 15:23:12 -0400 Date: Wed, 27 Jul 2016 15:23:08 -0400 From: Tejun Heo To: Alan Stern Cc: Oliver Neukum , Bhaktipriya Shridhar , Geliang Tang , "GeyslanG.Bem@Karyakshetra" , Masanari Iida , Greg Kroah-Hartman , Michal Hocko , Vlastimil Babka , Mel Gorman , Saurabh Karajgaonkar , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [RFC] usb: host: u132-hcd: Remove deprecated create_singlethread_workqueue Message-ID: <20160727192308.GP4144@mtj.duckdns.org> References: <20160727180047.GJ4144@mtj.duckdns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Alan. On Wed, Jul 27, 2016 at 02:54:51PM -0400, Alan Stern wrote: > > Hmm... I didn't know the whole USB stack could operate without > > allocating memory. Does usb stack have mempools and stuff all the way > > through? > > No -- the USB stack does need to allocate memory in order to operate. > But it is careful to use GFP_NOIO or GFP_ATOMIC for allocations that > might be on the block-device path. Hmm... That doesn't really make them dependable during memory reclaim. What happens when those allocations fail? Thanks. -- tejun