Received: by 10.192.165.148 with SMTP id m20csp5579372imm; Wed, 9 May 2018 07:17:15 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoRo49zIHUnEXvLoYleFbXuvmy+oxKjJPZOhoah7j6a0nqB1US29EtIWgkU3lEoB7YHbGyH X-Received: by 2002:a17:902:5327:: with SMTP id b36-v6mr543592pli.316.1525875435465; Wed, 09 May 2018 07:17:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525875435; cv=none; d=google.com; s=arc-20160816; b=hD7tju5xddpmhPdKuzPoZOeCL8W9WE3pdbi8NdPMD9lfwT6l5SNwpFbleI6TDy1s51 7Pt9AjAFTCV996hc/hIRTWB5HTAeeegcKWoYyLBn0wAS6397K0P8Hi79s3ZH9+O9rKI9 bd1NsqACHBry1raFVlZfqznZJyuOM2qQ6x8fIO/EVhZvicddular5u6NYBNxUj/3MPBl ooYZKi/mN4GpJTSO97xI8rDklOg8/dYms3NicD506ffG5D2yj4pa/S6Oxohw/2KAVdY/ j44gqJtIZ5y+tEjS3D6fAYCWPt2ABoUT3mMMC8450QvEpi343zPJuijzl9oiZpkESPWX os6A== 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:mail-followup-to :reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=0ORfOOTS0u8GxqBSDgWPM9Ln3KI8uksF+/mcYGPecOY=; b=XVYo2YnFzxm8nGgHw85609yBen8aUBwN9Fn4l21y7b4PuFDMIeQenHYjrlkO8gSlwM sG3ZTdZ1lop0p2d887ky2L5/9T2fTryCGf/uXqOml/UD06dWbndsBc7WnDk19yZPgHLI zye6GGS4PB9UK758v1sBDi1ldcsERE0b7yW1tOTR6Y+xiv7u1b2oYhmwgOSJw2ILJsOj V1FOmgBZbCLPHONyNqb6F5BFa9I7dvNJLG2i5myXcJiohQ/9GsPNp7IuglHwr0XpzU19 +E0pVTqV+Fnb2i+mMMpqQ1sexzBiTNFzHM50xsuuaTHAuJKaKAn+/9fhpPZTLM53VmUR zvSA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i192-v6si10262525pgc.73.2018.05.09.07.16.59; Wed, 09 May 2018 07:17:15 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934953AbeEIOQV (ORCPT + 99 others); Wed, 9 May 2018 10:16:21 -0400 Received: from mx2.suse.de ([195.135.220.15]:35904 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933743AbeEIOQR (ORCPT ); Wed, 9 May 2018 10:16:17 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 9D20AAC57; Wed, 9 May 2018 14:16:15 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id EB7CADAD5E; Wed, 9 May 2018 16:13:34 +0200 (CEST) Date: Wed, 9 May 2018 16:13:34 +0200 From: David Sterba To: Michal Hocko 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: <20180509141333.onn7rbaitzspjmsa@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Michal Hocko , "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 References: <20180424162712.GL17484@dhcp22.suse.cz> <20180424183536.GF30619@thunk.org> <20180424192542.GS17484@dhcp22.suse.cz> <20180509134222.GU32366@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180509134222.GU32366@dhcp22.suse.cz> User-Agent: NeoMutt/20180323 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 09, 2018 at 03:42:22PM +0200, Michal Hocko wrote: > On Tue 24-04-18 13:25:42, Michal Hocko wrote: > [...] > > > As a suggestion, could you take > > > documentation about how to convert to the memalloc_nofs_{save,restore} > > > scope api (which I think you've written about e-mails at length > > > before), and put that into a file in Documentation/core-api? > > > > I can. > > Does something like the below sound reasonable/helpful? Sounds good to me and matches how we've been using the vmalloc/nofs so far.