Received: by 10.192.165.148 with SMTP id m20csp5017027imm; Tue, 24 Apr 2018 12:11:46 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/OkSniEj0vECwzraGbsiOXiwtLwZhiv97PwR9I/t3NTG2LrL/oKYpgxOakOScWUDcoaB61 X-Received: by 10.98.73.22 with SMTP id w22mr24887397pfa.96.1524597106434; Tue, 24 Apr 2018 12:11:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524597106; cv=none; d=google.com; s=arc-20160816; b=drkzUa7gT2rNc7e+WZ8/yPl0x4DXf6zz6VBjiAsDhL/oMjIMwMss9xJH+DQTs/2bxC CZUetKGNnoVEg4/86aFNWlcTbAB1kxXrq7SJWUMpWN5xO3cQaZ90Lwizwp5F7+7jeEJO xta6kD0GXEWUMvTyx17Ep1A2gqHYn3r0DHXqVqZ5i6YQugAEqt7wntqTSMJnCy/D/WMI y2Hlevqwx7xub03SENP4LbwBedVDI8HC4ZIaMxRRz1/PfpL56fG8e3wLVICQcmDy7bHs z7VEbZy22WQ9neiOCNqXEks5JbhMriYA+ZQ1mOryDIf35wlBUgPhPccYJT7mZKs7/ATH AYhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=DXZl5BlcDGUOdUHL/i5RKOFwB6d9CxDCVI675doFsfA=; b=mcSMweNzqjt8GK4IQvOUKT/R8TMuPdyAteF1BN7LXEsjfUBFn9kp480z+kQ/3GDFkn Yfr6qMoTQlgUTRCgCkoe8lLWkTWQZ8bAcRXuQTmpw2fEgqje2oyNKr7ZcDAShvp6zsG+ HhOBAz5tDpgYGzmfxZ+t5qdhoIJUDa92g5Q+DsH/Jmr82kmAg/UFbyCBr85fgyKQnkFC +kVL1aezxCo7+hIxir+tIbmsjijW33ZvXuprO06wXIxwnYuN2HY0S2eMYKPT/ytkp8PB LK/FgyMkqfEdvnZBuhFukozz+ltz1lhXxyQvhuzYTCEf4+QKOcDmt/g7FglRB4knYh7/ /PyQ== 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 x1-v6si14248556plb.8.2018.04.24.12.11.32; Tue, 24 Apr 2018 12:11:46 -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 S1752045AbeDXTKO (ORCPT + 99 others); Tue, 24 Apr 2018 15:10:14 -0400 Received: from lithops.sigma-star.at ([195.201.40.130]:40528 "EHLO lithops.sigma-star.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751683AbeDXTKM (ORCPT ); Tue, 24 Apr 2018 15:10:12 -0400 X-Greylist: delayed 385 seconds by postgrey-1.27 at vger.kernel.org; Tue, 24 Apr 2018 15:10:11 EDT Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id CEC73608D744; Tue, 24 Apr 2018 21:10:10 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id xYEgiWuw6VPO; Tue, 24 Apr 2018 21:10:10 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 1ABD0608D748; Tue, 24 Apr 2018 21:10:10 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id HJWEmGeo8rSM; Tue, 24 Apr 2018 21:10:09 +0200 (CEST) Received: from blindfold.localnet (213-47-184-186.cable.dynamic.surfer.at [213.47.184.186]) by lithops.sigma-star.at (Postfix) with ESMTPSA id BF631608D744; Tue, 24 Apr 2018 21:10:09 +0200 (CEST) From: Richard Weinberger To: Michal Hocko Cc: LKML , Artem Bityutskiy , David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Cyrille Pitchen , Theodore Ts'o , 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 Date: Tue, 24 Apr 2018 21:10:08 +0200 Message-ID: <1912881.zKmfqiQKhD@blindfold> In-Reply-To: <20180424162712.GL17484@dhcp22.suse.cz> References: <20180424162712.GL17484@dhcp22.suse.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [resending without html ...] Am Dienstag, 24. April 2018, 18:27:12 CEST schrieb Michal Hocko: > Hi, > it seems that we still have few vmalloc users who perform GFP_NOFS > allocation: > drivers/mtd/ubi/io.c UBI is not a big deal. We use it here like in UBIFS for debugging when self-checks are enabled. > fs/ext4/xattr.c > fs/gfs2/dir.c > fs/gfs2/quota.c > fs/nfs/blocklayout/extent_tree.c > fs/ubifs/debug.c > fs/ubifs/lprops.c > fs/ubifs/lpt_commit.c > fs/ubifs/orphan.c All users in UBIFS are debugging code and some error reporting. No fast paths. I think we can switch to prealloation + locking without much hassle. I can prepare a patch. Thanks, //richard