Received: by 10.192.165.148 with SMTP id m20csp799303imm; Thu, 10 May 2018 00:20:50 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo2kVobhYNFuxINYFrOEX5QeerQhx/0RVs5Q1UAUb8GE1iFJlDrpXMOGdsechCj0u9uwyKg X-Received: by 2002:a17:902:41:: with SMTP id 59-v6mr270606pla.345.1525936850705; Thu, 10 May 2018 00:20:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525936850; cv=none; d=google.com; s=arc-20160816; b=jL1ENV0ieqd3ql7SxaE28TPXF5wqeB+q1DcPGH9imygJboIYcpvkivb9ZXZWPt1M6n jxdBZ+7edQDPH/MquHWoYZwLaokTiUGO1HB0qfHXbsbw7tS5vUHxeCG6VbB0fnNafd51 F/Or4V1Kwflg6FjC9U/Y6kOB78HxWVCQWqAyBB8YioArXZvMA3m1cwnlkj0xUBGnBmgB vaXfhN5DdnUbX0zQ8rMvHr8ZPEWoU2id8V10r/DTPIZN/mmC0gstOAe6Qm/ZXRdQcZz0 IHGuA3t4APjmmfhbsLKVHwIj8JHMMJWDiEcsayqncv79hk/H15j0J+NJjIIH1tc33Upo naIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=2s3DB9lLOz6hGCzNfIpIqjTk3C5sugsYkB6pPHT+kOc=; b=rF/4BaSodAnmO8A5conSmgFC3BeLM8d8iUDBgmEPZSpHDTkIgHQqvoWiCqx59e8Gug cTKn+1JvUAsn+b8tFDYyRc6SjD0wnMv7S6FEdAYn3VLHVloRr8DqiV50JQCES4GTySak dGo+e2S/5iupPNX4C4n/5dMShwDDzFgTlYnrSIKAD03TYLmOpTyhkN7UEvjfmBqGJi3e yGb+W0yvQVYbwUixNvTwp4Se3lW5ELla1wXFtba2g86jUkQIv+5y8FUIWPAwk/DSTBCk 7bgqkKSmy/4xuZ4DXD5H+3riTOHHO6UbOECsW9sIfV4+iC+4eQEc8ISNERDo/UvjODKR 7rHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x4-v6si138740pfm.110.2018.05.10.00.19.05; Thu, 10 May 2018 00:20:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756725AbeEJHSd (ORCPT + 99 others); Thu, 10 May 2018 03:18:33 -0400 Received: from mx2.suse.de ([195.135.220.15]:48484 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753979AbeEJHSb (ORCPT ); Thu, 10 May 2018 03:18:31 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 450D8AEF9; Thu, 10 May 2018 07:18:29 +0000 (UTC) Date: Thu, 10 May 2018 09:18:25 +0200 From: Michal Hocko To: "Darrick J. Wong" Cc: "Theodore Y. Ts'o" , LKML , Artem Bityutskiy , Richard Weinberger , David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Cyrille Pitchen , Andreas Dilger , Steven Whitehouse , Bob Peterson , Trond Myklebust , Anna Schumaker , Adrian Hunter , Philippe Ombredanne , Kate Stewart , Mikulas Patocka , linux-mtd@lists.infradead.org, linux-ext4@vger.kernel.org, cluster-devel@redhat.com, linux-nfs@vger.kernel.org, linux-mm@kvack.org Subject: Re: vmalloc with GFP_NOFS Message-ID: <20180510071825.GC32366@dhcp22.suse.cz> References: <20180424162712.GL17484@dhcp22.suse.cz> <20180424183536.GF30619@thunk.org> <20180424192542.GS17484@dhcp22.suse.cz> <20180509134222.GU32366@dhcp22.suse.cz> <20180509151351.GA4111@magnolia> <20180509210447.GX32366@dhcp22.suse.cz> <20180509220231.GD25312@magnolia> <20180510055825.GB32366@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180510055825.GB32366@dhcp22.suse.cz> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 10-05-18 07:58:25, Michal Hocko wrote: > On Wed 09-05-18 15:02:31, Darrick J. Wong wrote: > > On Wed, May 09, 2018 at 11:04:47PM +0200, Michal Hocko wrote: > > > On Wed 09-05-18 08:13:51, Darrick J. Wong wrote: > [...] > > > > > FS resp. IO submitting code paths have to be careful when allocating > > > > > > > > Not sure what 'FS resp. IO' means here -- 'FS and IO' ? > > > > > > > > (Or is this one of those things where this looks like plain English text > > > > but in reality it's some sort of markup that I'm not so familiar with?) > > > > > > > > Confused because I've seen 'resp.' used as shorthand for > > > > 'responsible'... > > > > > > Well, I've tried to cover both. Filesystem and IO code paths which > > > allocate while in sensitive context. IO submission is kinda clear but I > > > am not sure what a general term for filsystem code paths would be. I > > > would be greatful for any hints here. > > > > "Code paths in the filesystem and IO stacks must be careful when > > allocating memory to prevent recursion deadlocks caused by direct memory > > reclaim calling back into the FS or IO paths and blocking on already > > held resources (e.g. locks)." ? > > Great, thanks! I dared to extend the last part to "(e.g. locks - most commonly those used for the transaction context)" -- Michal Hocko SUSE Labs