From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07391C54EBD for ; Fri, 6 Jan 2023 23:08:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234772AbjAFXHq (ORCPT ); Fri, 6 Jan 2023 18:07:46 -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> 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)