Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3185695pxb; Mon, 18 Oct 2021 09:50:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyALVn+VJuyMHkK9qlLK6TqkkHJS71ZDt7mwnlpnmAUNmxlG9TvpiiuYd854fmQftQv3tSU X-Received: by 2002:a17:906:3510:: with SMTP id r16mr31987856eja.209.1634575847521; Mon, 18 Oct 2021 09:50:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634575847; cv=none; d=google.com; s=arc-20160816; b=HsE2ywBMlExhxVzudeqlZTDOwF7eyRLviYI+fyCR8+aowTwMby0GdaV/wgaPbMxSRV Qf0QP3XSZg4BFkIp6layQh5NNg53EC7vPtWw0fHqek1G2o5KKDiMD6uyC1UySgp5T/Z3 nx/HT5+yIhgJh0Q//MCzA7VYddM6dTF/nuTf5PnwrQRrFDzw9o6OhlmbmNh3Ok7tqhsy BRmrOJVjlZPyMcF7t/043GuwNQOITjaVfH5BPndqvCxeL29jdnDyvdiB0HtoAhjKFvDA hjP5sGmTLuxAznLFYs35nlkPKAlP1L3oBd4giSv18lXrRUmCfun3JR0QAQQUmo1c7ZpQ 0Cog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=PpctcjauyVkficDYMg8IelhquUlY3RQ3gG3mgqn4rI4=; b=Tp6ONOo2ARADKrPdg+8cMk4x2Pj0qgJ6fb32Vc869r1/Njcc3KKpxXTqvRsDMJVfzk NWX8i5hx95nvoocPZM8bPbYyloJ4ZTyC1Bvvfgy9Eh8RpU06BargToW63F6UlCF3rXrd 8EgUH3Wg0NNvoEn5WwQroOR2leLcfHm8be1SILROy3h+wHKDFjjXFZMAM6i0vtGL+KiP 3Tn7RS0ofOG33Bv7dcHzWjeTjqSy0Wx3rVrKjIjTv5Crc6LW+SNqgHjPyXLEl2pmm1kL wpUra4WZVozHl4cPwXyVi1gB7/27NjwHV3Edcxa0KE4Idrli/4fjVkDY9Wnb/sGC3tqD ALRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=JWa8KOxa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c10si23946450ejf.406.2021.10.18.09.50.22; Mon, 18 Oct 2021 09:50:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=JWa8KOxa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233487AbhJRQua (ORCPT + 99 others); Mon, 18 Oct 2021 12:50:30 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:56396 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231811AbhJRQua (ORCPT ); Mon, 18 Oct 2021 12:50:30 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 44C081FD7F; Mon, 18 Oct 2021 16:48:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1634575697; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=PpctcjauyVkficDYMg8IelhquUlY3RQ3gG3mgqn4rI4=; b=JWa8KOxaNYFN8ROwf48IWm3jAlmENWZw5cnucHeqT7dlbzAIL7R49cKovCatW1ZVTH5qNn H+0oYw74kgvuJtFW/zeFfSbk8e+epAGDl3TOqsFPGPW3V6hpV3VXQB2/eu9K3fkBhJUvuP kJAWrN8ARVK9TjltBzuB9plTjRq9iQc= Received: from suse.cz (unknown [10.100.201.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 0F5A2A3B81; Mon, 18 Oct 2021 16:48:17 +0000 (UTC) Date: Mon, 18 Oct 2021 18:48:16 +0200 From: Michal Hocko To: linux-mm@kvack.org Cc: Dave Chinner , Neil Brown , Andrew Morton , Christoph Hellwig , Uladzislau Rezki , linux-fsdevel@vger.kernel.org, LKML , Ilya Dryomov , Jeff Layton Subject: Re: [RFC 2/3] mm/vmalloc: add support for __GFP_NOFAIL Message-ID: References: <20211018114712.9802-1-mhocko@kernel.org> <20211018114712.9802-3-mhocko@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211018114712.9802-3-mhocko@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fat fingers on my side. A follow up to fold commit 63d1b80b9a298c9380e5175e2add7025b6bd2600 Author: Michal Hocko Date: Mon Oct 18 18:47:04 2021 +0200 fold me "mm/vmalloc: add support for __GFP_NOFAIL" diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 3a5a178295d1..4ce9ccc33e33 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -3034,7 +3034,7 @@ void *__vmalloc_node_range(unsigned long size, unsigned long align, warn_alloc(gfp_mask, NULL, "vmalloc error: size %lu, vm_struct allocation failed", real_size); - if (gfp_mask && __GFP_NOFAIL) + if (gfp_mask & __GFP_NOFAIL) goto again; goto fail; } -- Michal Hocko SUSE Labs