Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp3077237rwl; Fri, 6 Jan 2023 15:25:30 -0800 (PST) X-Google-Smtp-Source: AMrXdXvEnKrPyskuiGJyzUcneK5BPtUy3jMKQXPDeirBBkzSxXdvqUo8p+3WbkuZEGbWDyirH9JG X-Received: by 2002:a17:902:f20a:b0:193:118f:5dfe with SMTP id m10-20020a170902f20a00b00193118f5dfemr2349194plc.4.1673047530323; Fri, 06 Jan 2023 15:25:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673047530; cv=none; d=google.com; s=arc-20160816; b=dRi5krUGh5R7EbcserfvBS4kow4wFy5mLOLhoZa7VnozD3Hl9acV2cnmuycON5IvlE J28mazUQbt71/V/BmX/5Hi2s2d7L+DiC8OsqJa+46H8pMvnUZpWzHYcshub/nltJLjrV 6J8lgz+z73Fqij5YqiH6xPrIDBz0xlrZ7LQfm4egC9mi8TzQ7riN0KlntaElPFEs53Rj b8DuCcGfvn0ClwTNWUuq3o5QN4pG3TfdPwgo8EpQZu90NAigev/WeMc6YDW81UCSUrWY OOABVHcau3dBnJv5vOWZyzsw3ufBICkaOTdHTI67K+0fRYPdUm/ekCNh3b2igS+Jedhg X7kQ== 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=TR84vYn9WShU7mQuihrDE3sVN5KTjnPiAIwI8uaw7XY=; b=ZM5L+fmLIEzjVHbcuuqeLRJ9njC9rHU0YyWKJtAU7bdQBSaG4SiBIzZ4TrGqUSf9Yd czNvozA1Dhb4P2bhjCzttvkbdFprVwW6ihldKGxbzJUxhZjM1kDF1xgJun8NHleO+t94 TILb1PJ9VW6OXuu/+J9AE5xA5uu2jIbSARwRHmNZKtRbLRFzjNcRSmDmvGPVCMgDQ3P1 +kVT//NmHR4CHSupHrJaGeZvDS1rhFEqV3ggKoBxMLu8ew/oYXetuhIB8l4ptSSYyfzw zvPij3KMy9QmCt6WIdaJrrLCM98o8FY/neGwC/H35tgbQfprCoGa69v8iD3OnfXEGo7F JaMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=BleR+jVe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k35-20020a635623000000b004785b66be7bsi2522284pgb.89.2023.01.06.15.25.23; Fri, 06 Jan 2023 15:25:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=BleR+jVe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230329AbjAFXHp (ORCPT + 55 others); Fri, 6 Jan 2023 18:07:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229550AbjAFXHQ (ORCPT ); Fri, 6 Jan 2023 18:07:16 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0A068460A for ; Fri, 6 Jan 2023 15:07:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=TR84vYn9WShU7mQuihrDE3sVN5KTjnPiAIwI8uaw7XY=; b=BleR+jVeMLiVyeU5OGRNms2olO I4Mmx1iWeaRDY71Lh+EPLJ15QXsDlhf5eU3q1yIMp+WKzUe3P9Nm1h5tmWxIDS+AnsnLcccxx6PBj ZWufKj9pXpOdWzEQp8ykmx7Xbd40jRRObVI5gJrEIljuJ0DeRUfcFYPMu66EcSPijK26GGTpdjjvL n/Dks04KBCyYS7TPYLaBINCFJsph+uy8Xbfwjj6kZjIEfOmNmBPd/j9hpA5m2AUrVspd//BUERygk OpflN+vVk7qrwj3Ab6c0UGIL+iE1kiQxphoye57f1qnetgiHdeFQsebwMOjJ0KLAbY7oTZS5lP98P yaPcPqMQ==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1pDvny-00HaCV-Mk; Fri, 06 Jan 2023 23:07:18 +0000 Date: Fri, 6 Jan 2023 23:07:18 +0000 From: Matthew Wilcox To: Sidhartha Kumar Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, vbabka@suse.cz, sj@kernel.org Subject: Re: [PATCH mm-unstable] mm: introduce folio_is_pfmemalloc Message-ID: References: <20230106215251.599222-1-sidhartha.kumar@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230106215251.599222-1-sidhartha.kumar@oracle.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 06, 2023 at 03:52:51PM -0600, Sidhartha Kumar wrote: > Add a folio equivalent for page_is_pfmemalloc. This removes two instances > of page_is_pfmemalloc(folio_page(folio, 0)) so the folio can be used > directly. > > Suggested-by: Matthew Wilcox > Signed-off-by: Sidhartha Kumar Reviewed-by: Matthew Wilcox (Oracle)