Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp32445273rwd; Fri, 7 Jul 2023 14:10:52 -0700 (PDT) X-Google-Smtp-Source: APBJJlG9dDl7tCKsSHKgiq4X7PZz2d3vj4kQmube4g0b7CwkEwszaG6j7ICvDF98ARpKb9R82nnS X-Received: by 2002:a05:6512:39d4:b0:4fb:8f81:4fe8 with SMTP id k20-20020a05651239d400b004fb8f814fe8mr5902346lfu.46.1688764252297; Fri, 07 Jul 2023 14:10:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688764252; cv=none; d=google.com; s=arc-20160816; b=EC5BPSVcFulWczNlOr40cd9bIx1bctS47TYIks8mtG6JJXkV9LyBujWlNO6a+aQ3ey /GznfQJjzfy5zxJu/38gxLH4aBmtw+mzj3ml8laEqz9W0nPEJxxtZ9kCuEHkc/XWkIOZ XuGEAvOHFYZj2f6LcXLyjAsGIsW0AiCsTif3WMO2wu6N+Ljc0QKtgTSdfP/HNyLwW7iR y4ayambl19EQmsVPkydmKrTRWQ5vqhyEjtIvlC2KZX6V4nxtVdvIC+cRoVOSW/QfpHLX lBrZDwx9OzC1XQM/CqnfJFPSKqO/sgHNMrwpe5+TxCRYh6rLj4J0YssQM+/NvO6NU/Rk zBBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=2z2OaMUgrFB9JYfeEsfqzMKC4srN3j687jYfrQhlCIM=; fh=neJkWCmxlEzWPMavzS+Br4lSdsdKSTlfHPambm0Gtlw=; b=Q7284+OFOkjyCsAd0a4RUiaZug6c1T1SdESdn/qyx5tTENEM2iB6noHZNlpFTMFf8A TcmXBS5jy1iB33PLqjchVEKcqpjehS+aGWeA0bg1yfYdMKFetwAQ5s0nyA1LFTvFmePw qwVNbGR8PDQlVQ4dtiGDFLah8JPXhIXkQzV0rT/1A26N2LP2eNzuULcFunSssMiE/rah QjQu1OdZZraiNP+hwIj+azkAbiFj+VI9uOnsnqieKHNNuFQ6OX+F5ts+KS3uPwiFcGSt jt3yoq5xCquIjdqieZs/l4U5Lu4R2+zSBeaZwdO99FOEB3y3rD2hn3qxsf2aAxPzTSn8 JJgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b="z/5k/i7f"; 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 u14-20020aa7d88e000000b0051e04e7b2fbsi2757988edq.531.2023.07.07.14.10.26; Fri, 07 Jul 2023 14:10:52 -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=@linux-foundation.org header.s=korg header.b="z/5k/i7f"; 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 S232548AbjGGVF4 (ORCPT + 99 others); Fri, 7 Jul 2023 17:05:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232377AbjGGVFz (ORCPT ); Fri, 7 Jul 2023 17:05:55 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2F6A1BD2 for ; Fri, 7 Jul 2023 14:05:54 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 34CED61A66 for ; Fri, 7 Jul 2023 21:05:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2BC7FC433C9; Fri, 7 Jul 2023 21:05:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1688763953; bh=wIbc8HTUUZfRvfDpoEteNIK4JDXCZ1at/pNiozS117k=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=z/5k/i7fxqVHgVojMa++l/xaXfNe7dqYCBfHSWAwn5Vvom1hVKoyeOGgvh6Fcejjn fjbvugBxpSZwlu5VfZvPb6BcOFzrkKMjmwC/vcygGF2P4J3nC1wdSDfoGf3u2M/Vga BNyvpHeP6+4+y2oNjNGrC40yJNDGdMgQ+0UZFSMM= Date: Fri, 7 Jul 2023 14:05:51 -0700 From: Andrew Morton To: Matthew Wilcox Cc: Jiaqi Yan , mike.kravetz@oracle.com, naoya.horiguchi@nec.com, songmuchun@bytedance.com, shy828301@gmail.com, linmiaohe@huawei.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, duenwen@google.com, axelrasmussen@google.com, jthoughton@google.com Subject: Re: [PATCH v3 2/4] mm/hwpoison: check if a subpage of a hugetlb folio is raw HWPOISON Message-Id: <20230707140551.07e06293e4943be0c6c557fe@linux-foundation.org> In-Reply-To: References: <20230707201904.953262-1-jiaqiyan@google.com> <20230707201904.953262-3-jiaqiyan@google.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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, 7 Jul 2023 21:31:39 +0100 Matthew Wilcox wrote: > On Fri, Jul 07, 2023 at 08:19:02PM +0000, Jiaqi Yan wrote: > > Add the functionality, is_raw_hwp_subpage, to tell if a subpage of a > > This is incorrect naming. "subpage" was needed before we had the > folio concept, but it should not be used any more. We have folios > and pages now. > > Also, abbreviating "hwpoison" as "hwp" seems like a bad idea to me. > hwp is already used as an acronym by acpi, intel_pstate, some clock > drivers, an ethernet driver, and a scsi driver. Thanks, Matthew. I'll merge v3 so we hit next -next (which actually won't be until Monday), and add a note that v4 is expected.