Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5974814rwp; Mon, 17 Jul 2023 12:34:46 -0700 (PDT) X-Google-Smtp-Source: APBJJlGmun5dYDKWW97khLRY1kbkX6fq4zFzaM+DA+15Rgqf3lMYDYRDB4yiFfGyQisvrs6440y3 X-Received: by 2002:a17:90a:3e4a:b0:262:ed49:ffe7 with SMTP id t10-20020a17090a3e4a00b00262ed49ffe7mr12235452pjm.25.1689622486366; Mon, 17 Jul 2023 12:34:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689622486; cv=none; d=google.com; s=arc-20160816; b=Ewm7Zli3H7J29MPYat0PepcXJx0s7rpQXWdB7VHxAJu8OkUssV3jKzLh35CLi5qGrN nFnWHCk4jy5C3x792WsnUtVd3uo+2JHed01eoEjOGJ40OMcvY+M+S+Z1ET3ijA/phhqu 971d9TO18AcBTiUWedLPwkTVKNO9VvK8xDGw0hywFL3QC8Q7c1TtvSuFtovsQ9WkoK0u joWAEZMQITsFneejow1Ngvwgbga+L1vWGdEUFsjANCXuHwt2U1v5ySwoFq3ycyze+c0l QXXSz7MfIxMzXLHEUyuYXDL+u9oVbsnKkeWWX8GQp3eVw5tjDUK95zGtSJNYrcFUDcsS 6UHQ== 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=xjUB7DSURlJVjw3aTLenO28aYfhi1Ynx5o2zj6uvl60=; fh=Jx6Qq4anx8Zti8Pm1ZxTJk6IsKjLXNXeHHKtMbMAqW8=; b=tro8b8ywDuyieJVwseKBkd9gEE3AB+/jUZ7RtcZB0EXrENp6Rdi8qmuFgtJXieON9B XIUBUHR6hB6P1WMrpefZR8kcNPF9iPWbQwVKJNRuH3R6m2cA7HFSo27N+bsZEGXIhL14 DZA0yEQOdTVCYz8OtaJwIItdXFbiZTdHnf/yv7S3Eu0fLc2PCIiwthsp/Y5BoMZpaHWN KT/YQ77KlgsPHAP+2JhWc5ZFik3meZbks0gYjvdfSFMxDN3XwuWXCX6arJysgQb5h7O+ K8fZefoc1vv+sqEMjj6kRqscJ/C52xPkpm868stW7VJ05smDiEQD1aYtmnRfIZNn9/ft Wdgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=TCDX9mW2; 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 h62-20020a638341000000b0055bca9b4e20si245187pge.878.2023.07.17.12.34.34; Mon, 17 Jul 2023 12:34:46 -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=TCDX9mW2; 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 S230006AbjGQTAP (ORCPT + 99 others); Mon, 17 Jul 2023 15:00:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230252AbjGQTAH (ORCPT ); Mon, 17 Jul 2023 15:00:07 -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 A21B418D; Mon, 17 Jul 2023 12:00:06 -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 F3B6E6120F; Mon, 17 Jul 2023 19:00:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 13C4CC433C8; Mon, 17 Jul 2023 19:00:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1689620403; bh=xjUB7DSURlJVjw3aTLenO28aYfhi1Ynx5o2zj6uvl60=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=TCDX9mW2xTLLu2LpNLd88vbiS8AodhLwHViU6S9XU59ioLwM7CQFHYKTL8BYnk0Hy sr0fapooSzCsU/NffQuwhj9RLQilImtBbNZYG7zs5GdJRQF4QcMFbqsk31WNLPVLOF b/EpHyG9DfMuetTy4CfzdyQoyJIkFPaQJ/Tbkz+s= Date: Mon, 17 Jul 2023 12:00:02 -0700 From: Andrew Morton To: Sidhartha Kumar Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, willy@infradead.org, linmiaohe@huawei.com, naoya.horiguchi@nec.com, stable@vger.kernel.org Subject: Re: [PATCH] mm/memory-failure: fix hardware poison check in unpoison_memory() Message-Id: <20230717120002.8da3920c4006295bfb5234cb@linux-foundation.org> In-Reply-To: <20230717181812.167757-1-sidhartha.kumar@oracle.com> References: <20230717181812.167757-1-sidhartha.kumar@oracle.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 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 Mon, 17 Jul 2023 11:18:12 -0700 Sidhartha Kumar wrote: > It was pointed out[1] that using folio_test_hwpoison() is wrong > as we need to check the indiviual page that has poison. > folio_test_hwpoison() only checks the head page so go back to using > PageHWPoison(). Please describe the user-visible effects of the bug, especially when proposing a -stable backport.