Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2644660rwd; Fri, 26 May 2023 09:10:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ62LETmyy41fRRM7ZzSd0SNW+Ulz52B6P3MK/CupVplrnVG0nnijkJIuy9GcSOQqMD2+Hnj X-Received: by 2002:a17:903:44a:b0:1af:90b3:793a with SMTP id iw10-20020a170903044a00b001af90b3793amr2866365plb.1.1685117435651; Fri, 26 May 2023 09:10:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685117435; cv=none; d=google.com; s=arc-20160816; b=xaaTqbevzyiLuDMgJvzNVPiqen3sC4mhHhV26eQ11uw3TL5uFDuJz0D9UgH98HbTZ7 XynqVkl3g2JX5+bIpJNBk/r5U6fiLl7RTAiskydi9rGVDFy2qnOQmq6iPP1dbCAUcILY WUXqxQ7YQG4Iws31LWfv1/uSI6YhQcBq3chbMevky4GykkJPkrPy5CpUg4JtX9/XiZbd Cds70Dt0O74NIatugXx36k5TWLngdD8vyTx2q+ZT2+W7BwccseP3CNLT6/uZKVqiDkOj BB797xZadJFPMc46oE3r+imPzhc8LcxW96ObIeyWBVUZtZPZTtOgeRe/zZzAIs454Lh/ oYJA== 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=Kiu66LPDSVo5tZH51pPXUEMJvbE2EPjBe2DSE+ieg4s=; b=TBCRmMMketSNWEf8kSpTWNtJJmMSYXk3AMZv3bEsZ8pZ8kvvpeBsiKAPcILrwoZkDU ADmCu4Lz9xDuAVkeYk8hephFd4xkwnKOFul2OSl5lz6oF0I1HgECJ/QM8TC7JKHdtx7Q 5y1NgCdIrf+ko8Y/J8TSipR0cPPzL/+vWnNi8rU3Z7IKP7cZGSIjMRFrGlBP4jkCm/z6 gryg4+cjuMBr7fJrbViBNzn70UqDEfKEOmRCdKgMuop6IMuet8R8rylgPs4dDXsZI1wY m0PT+uvJP7ed1gv2KFB3hQdjq1VT8XmfMs/gFUT411NAO4bTFEus+O5xpmg6ERXSlUSm au/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=k9xl9MVc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jc17-20020a17090325d100b001aafb6fcf51si2136528plb.253.2023.05.26.09.10.19; Fri, 26 May 2023 09:10:35 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=k9xl9MVc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244152AbjEZPko (ORCPT + 99 others); Fri, 26 May 2023 11:40:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237396AbjEZPkm (ORCPT ); Fri, 26 May 2023 11:40:42 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29BE7F3; Fri, 26 May 2023 08:40:42 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B749865120; Fri, 26 May 2023 15:40:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DBDDFC4339E; Fri, 26 May 2023 15:40:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685115641; bh=S624nhijQGtzKeaSOXuQkD5+GZH07PgA64D+RGxJD9E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=k9xl9MVccduxlpE1tkKGE6enbEiSQ5iBOl+BE1eZMTWltCoNzDZM3sXXfi+29yUv1 R7r6oH89U7DivMiZZLr06Rn6A66e4qEEoTPRB3xxgwFvziIbck72vuw4GrERE1Fvt5 uzzhNiYLs83E69EWkIn+bRUEbV+Zc6KxDWRgYp2RFg0/9f7PAJNkWzloBKl2tZ9Sov hTKcICXi0f1W5cGrALum66A9aj5SXZrgJmx2huBo9u1wD+BADvwie1ZuIH1BkmdQKR zHjXvjFZfw+GL/PBV8ZkJsW1lelwYwt2jSWQhutUn2+L3bb1uvngb7HanslyBZOFvq SqAqprlkugXRQ== Date: Fri, 26 May 2023 09:40:37 -0600 From: Keith Busch To: Matthew Wilcox Cc: Luis Chamberlain , hughd@google.com, akpm@linux-foundation.org, brauner@kernel.org, djwong@kernel.org, p.raghav@samsung.com, da.gomez@samsung.com, rohan.puri@samsung.com, rpuri.linux@gmail.com, a.manzanares@samsung.com, dave@stgolabs.net, yosryahmed@google.com, keescook@chromium.org, hare@suse.de, patches@lists.linux.dev, linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [RFC v2 1/8] page_flags: add is_folio_hwpoison() Message-ID: References: <20230526075552.363524-1-mcgrof@kernel.org> <20230526075552.363524-2-mcgrof@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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, May 26, 2023 at 02:51:34PM +0100, Matthew Wilcox wrote: > On Fri, May 26, 2023 at 12:55:45AM -0700, Luis Chamberlain wrote: > > Provide a helper similar to is_page_hwpoison() for folios > > which tests the first head and if the folio is large any page in > > the folio is tested for the poison flag. > > But it's not "is poison". it's "contains poison". So how about > folio_contains_hwpoison() as a name? Would a smaller change in tense to "is poisoned" also work? I think that's mostly synonymous to "contains poison".