Message ID | 20230112204608.80136-1-sidhartha.kumar@oracle.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp4104713wrt; Thu, 12 Jan 2023 13:05:18 -0800 (PST) X-Google-Smtp-Source: AMrXdXtK8mRm/YEPdq1tAFYh5GZu994atAnzDyldZKqsxMcxomjhGGAcKguau10kEFhENfr0zrBs X-Received: by 2002:aa7:9685:0:b0:589:6338:9650 with SMTP id f5-20020aa79685000000b0058963389650mr14031678pfk.5.1673557518230; Thu, 12 Jan 2023 13:05:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1673557518; cv=pass; d=google.com; s=arc-20160816; b=cj+kbBwRG22qunMZIM4eRiCYTZwhyteQxLtyy2MfP15KkhJxZv2GRO6p/x95SP2HBl F+jC4KTImxfhb5r8lpup/Exs+bvBI/2iuwK4MLkliQ5Ci8R/HISXmJQQWuyov3qI2h4F URkacC85o8Hk4tv+soewQ3ABO8FJpfLjpBUdfMilU5RuZISP9jPll6b2u3+Lo1UeX0Ax dHXG7O+Zw3mT5rKZ1PH/Td4xEEs8AmF3zb9EeZvvFVodO9Im1QGZrRnPuoi3cW0eUq5c l0Ftxo0iNYcLaGu8qwPLcNAK8n5emJlIGuaKfbIYqWjogVUH6urOiv0g0nIi84jDXYyi ap4g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=XoP6FImO4GxwVThkgUQMfeBQKss2upzCfkJWHtJqCPg=; b=TFhPe8WaD+AR+iq/xCqwz331uPWC94ZDdiLq8SpLMt+pYD6m7G9XOfOWWuqCx7UMDK n9RKq0YZRRWD1c7tzRx/GGcmFJzvsaOY6jLv+WuMHHOq5JYYj/O3zLYjoVCvy+y0Pk4r Wo4dC0PLsRJ7VXvEbQYRZb2gEh/2HKYOgW4G9xSR9Vmc0kHoHp7Yu0gWen4DN4hcQo3S H9aBihaNe2sgQyMmqVe8f6CNo1THnWb+vG3qXlxbMKcHnmsLWf+X5GLlMCkvP4oCAiKh 05zhnEB5b7QipUkbDk5klUd/wMLzW2QbMk3FTHrim6Vp3cMytY+y7EgINWP4EcVFrWuA NWvQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2022-7-12 header.b=2g9AvPDA; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=0BQRSALt; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); 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=oracle.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h12-20020a056a00230c00b00561898445bdsi19842475pfh.273.2023.01.12.13.05.05; Thu, 12 Jan 2023 13:05:18 -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=@oracle.com header.s=corp-2022-7-12 header.b=2g9AvPDA; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=0BQRSALt; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); 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=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240696AbjALVDc (ORCPT <rfc822;zhuangel570@gmail.com> + 99 others); Thu, 12 Jan 2023 16:03:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240546AbjALVCK (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 12 Jan 2023 16:02:10 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA64244C68 for <linux-kernel@vger.kernel.org>; Thu, 12 Jan 2023 12:46:38 -0800 (PST) Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30CJXpNN031537; Thu, 12 Jan 2023 20:46:16 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=XoP6FImO4GxwVThkgUQMfeBQKss2upzCfkJWHtJqCPg=; b=2g9AvPDA/WmR9m4bZS2jcsGHHz2PyZD9GN4zB1ZGKsLCj3fSXRsDqRPWrv43HgZ0RgPw /EHOGopvUkFrFkepcnIJDNqybWR8Umf7MCReaQ4+k1IkNLaRt2uXKQYMPfEr85NiuUTd 0iaAdNPWyFX6YoUbFJt1esBdaSh9CBxNReYkA5zqXk4p47Pk86UK5Os4DGSs87rQuX0a 52J6i/vK/4BVkRSlUV4dnGPpmv9Xe2kdaKYLcUviAGcyjb2Hb7PgJqYAIGAsRe8li9k3 dLBtCxilow70V8m8iIxWcROQDNmJBAtrRceEbtiPI0Vf1QfJtwkCbc5FwBtF8z3QGGvL yQ== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3my0sckag6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 12 Jan 2023 20:46:16 +0000 Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 30CIt3Bv005182; Thu, 12 Jan 2023 20:46:15 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2171.outbound.protection.outlook.com [104.47.59.171]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3n1k4brqny-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 12 Jan 2023 20:46:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cg49J7pF31xKveuPWWOQ9+XE0uS2l1MIvxEv7vAF8iB1l6e+sHyY4L+hyi8DMqsWf9yPvbV2vDRiqaJRzUY5qnSmKi6JBXacB0OSveqx7IB4CYWTmAbELzBP4469vlP3F1EoeZxH6UapFFkNOXSUwFcp5PAonIBz+t4iEVejM8YsOtbxtX2cHg3WDgHDXDJ8UsMJSBEDELJg3mikHiAidtCLbo6WnUn6qm0GEf5uUARbkm2fLQZ8RaocopKvvbcnFQ1G/9tZtzbb4t00qnSwYY5xbfCcKSK+Qwn4vihFE5pRUGB/RPLqv7e+MXS4T7Mfvb3JQlYdy2+KUDMZeOEz/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=XoP6FImO4GxwVThkgUQMfeBQKss2upzCfkJWHtJqCPg=; b=R2G5pmzi6fhLC097+pIkeKrlw6iQPDzI6aRNcpjk59Qgl8fycxO7wzrolceBlA2LKG3xZX6mhFTj0Lf+MlHOExGPbLiI0/YN8bnEsA5wF6MUqkQr3maWXmk1wJCXzfj7uELzqxF29vQOC6K8q7w78A4d8lwkHYB3aegGTtOh3gSuIOfgAi9VuX5zwYLxZem5R+k09OLJkEBFQ4IoLqclTku3QDhltToKOrwCmGpcKuSRFV23vLkyEXxbultsJD9LGAgbbzM/9QV/BITxS75lQ3ZpYjh2heuVPzw6vU6HXnH8WJ9AyzABigETPGd28Q1+AvcmsReYG/wmJHh7JW5eOw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XoP6FImO4GxwVThkgUQMfeBQKss2upzCfkJWHtJqCPg=; b=0BQRSALtA1UNA5ODRhOHjA90cIMYl3wcxL6xOzm18pkbD9oL3ZXCeUaWpxJZy4N0lcGtnuiKANXJEq9eoQHHNMfvv/bPYqzQkALAXqvyaE1CO5G0LiacxHxsI+pZVqraB0/Crk8auxaJvsWVZtlbdHJ0jm2gP3yyn5ooRiqCEVw= Received: from DS7PR10MB5117.namprd10.prod.outlook.com (2603:10b6:5:3a6::17) by CY8PR10MB6804.namprd10.prod.outlook.com (2603:10b6:930:9b::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.11; Thu, 12 Jan 2023 20:46:13 +0000 Received: from DS7PR10MB5117.namprd10.prod.outlook.com ([fe80::93ca:e22f:aa6d:94d9]) by DS7PR10MB5117.namprd10.prod.outlook.com ([fe80::93ca:e22f:aa6d:94d9%2]) with mapi id 15.20.6002.011; Thu, 12 Jan 2023 20:46:13 +0000 From: Sidhartha Kumar <sidhartha.kumar@oracle.com> To: linux-kernel@vger.kernel.org, linux-mm@kvack.org Cc: akpm@linux-foundation.org, linmiaohe@huawei.com, naoya.horiguchi@nec.com, willy@infradead.org, Sidhartha Kumar <sidhartha.kumar@oracle.com> Subject: [PATCH mm-unstable 0/8] convert hugepage memory failure functions to folios Date: Thu, 12 Jan 2023 14:46:00 -0600 Message-Id: <20230112204608.80136-1-sidhartha.kumar@oracle.com> X-Mailer: git-send-email 2.39.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SJ0P220CA0018.NAMP220.PROD.OUTLOOK.COM (2603:10b6:a03:41b::28) To DS7PR10MB5117.namprd10.prod.outlook.com (2603:10b6:5:3a6::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS7PR10MB5117:EE_|CY8PR10MB6804:EE_ X-MS-Office365-Filtering-Correlation-Id: 47dc3d8d-1cf8-4266-bf7b-08daf4de0aff X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YF/ywWXfEBrFlbq/tKhQ3Ddvoc7qLSDiY4zWKh9xhVhAc1bPE8ifMZkuqIG2nIPWDwsB8wuFsItrEZiLJreXkBfYhuQZQuQRKLsOEaBQTlaaFTMr5ufSdEtY047PGhNmkO3SBAc2XnK3kR3+PTK/jC4c9iaPHpfFP6SIgDpcarCvQFKIP6a1ZpjmpeGxq9lwjV/0wuXPcJbJ1M007dUTox0bTDWjoBjV/N5/34dJqaJtYNdfoglxzwHkEatJ1mMNYszpMJH/two2KEAugXOaWADg6G5lMNW7hknsmF0fDYWolYZDGxVcpX4/m8So9WW8vTuiRkFpM+2ELjBqlHd6u3jVNfcHzLcpDAPr2bYPNi2TXqJW4DSN1lfhVJUvWcaPC+LTWx7ca3n8Jkf4Gwv2+JSYfgISUnntNw8GA9/FWmwrh154RLWz0Pu6a1k08cnpGwIcmTGXAcwIgfzWMYQPCHxyQTJjNvZwUChHUPh/zH9k04FJDQ3nyFukJuEzcsSLqKbKB+9zu0uEuSLjKCgr2xJCvuTAOmIlHHKrgaJQrtd4Gxt5X0tAQGwkQbw3OfSTN9LZIfiowFLgxBfXt4XbIwTNbNvfCb5mqtIuHjiaXdZaKv6LDqEvmvh29x/9FQfaxup3KuJiQH0v1FyXYkB8Ig== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS7PR10MB5117.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(39860400002)(346002)(136003)(366004)(376002)(396003)(451199015)(44832011)(186003)(2616005)(6512007)(478600001)(316002)(5660300002)(107886003)(6486002)(1076003)(66946007)(8676002)(66476007)(66556008)(4326008)(83380400001)(8936002)(86362001)(41300700001)(36756003)(38100700002)(6666004)(66899015)(6506007)(2906002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: DUC9K6IJDRLdEoQ3Nq6aAr813rYtddbiAs+4Lk9k0BHOduseFCjou+mgqFIrnCMzMem1TnxwrcaOLPpYN9oLiGXJrAapeaFksiR/Ey+xPJVVGa5s1a74CfLqMEFK0bmnUBpUsSOeuR+aMp6MDAH87bOi1bqC3urCd4HD0nhrbTEJuqpe46iw+5tONaiYTQmN92MfeXfNAQ3dlK4L5kkfZpl+vn65WycShVz/C47gkv4cT0Wf7+YM5IKSJh9CymcinTTF7FTpcE4V1RVR1dchyRiEuo/EyezgYMP/6CbxEMWnPX7BHjQqf6NhovwNtxhwFCkPYpGxu09axUBKxTHEZo0Ppr5XysthaYcqlkV58831WmtyPFEyVDB78d2FYY+RNZf37OLb8hqrtDGKHZq11ZcpWAB/odRLtMKVRZRlSXOLpnfIofB45jhH3LIZ+Ocq7AN3tmCgdoUSK3kSFzZaNUNNP3WU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uwYd47he+H9cekM29nWBkjICpp/bYksLLZgGj+221sg4RklYp6p8aQ X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 47dc3d8d-1cf8-4266-bf7b-08daf4de0aff X-MS-Exchange-CrossTenant-AuthSource: DS7PR10MB5117.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2023 20:46:13.3295 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: lbzHOas5TulDJo/BvndB/cFQJB3HqBNnI+9aPGCdo7kxcgdJkkZTM+q0mBwfiWbWf4mOAnrxgUGF1XI07S49BLWCMdveK7hY2f4WuG3izQo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR10MB6804 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-12_12,2023-01-12_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 suspectscore=0 adultscore=0 spamscore=0 mlxscore=0 bulkscore=0 malwarescore=0 mlxlogscore=583 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301120148 X-Proofpoint-GUID: IwcPYTIKWB2QvScVZ3HMNxUx1I83k0hI X-Proofpoint-ORIG-GUID: IwcPYTIKWB2QvScVZ3HMNxUx1I83k0hI X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754852248327737914?= X-GMAIL-MSGID: =?utf-8?q?1754852248327737914?= |
Series |
convert hugepage memory failure functions to folios
|
|
Message
Sidhartha Kumar
Jan. 12, 2023, 8:46 p.m. UTC
============== OVERVIEW =========================== This series contains a 1:1 straightforward page to folio conversion for memory failure functions which deal with huge pages. I renamed a few functions to fit with how other folio operating functions are named. These include: hugetlb_clear_page_hwpoison -> folio_clear_hugetlb_hwpoison free_raw_hwp_pages -> folio_free_raw_hwp __free_raw_hwp_pages -> __folio_free_raw_hwp hugetlb_set_page_hwpoison -> folio_set_hugetlb_hwpoison The goal of this series was to reduce users of the hugetlb specific page flag macros which take in a page so users are protected by the compiler to make sure they are operating on a head page. Sidhartha Kumar (8): mm/memory-failure: convert __get_huge_page_for_hwpoison() to folios mm/memory-failure: convert try_memory_failure_hugetlb() to folios mm/memory-failure: convert hugetlb_clear_page_hwpoison to folios mm/memory-failure: convert free_raw_hwp_pages() to folios mm/memory-failure: convert raw_hwp_list_head() to folios mm/memory-failure: convert __free_raw_hwp_pages() to folios mm/memory-failure: convert hugetlb_set_page_hwpoison() to folios mm/memory-failure: convert unpoison_memory() to folios include/linux/hugetlb.h | 4 +- mm/hugetlb.c | 2 +- mm/memory-failure.c | 116 ++++++++++++++++++++-------------------- 3 files changed, 61 insertions(+), 61 deletions(-)
Comments
On Thu, Jan 12, 2023 at 02:46:00PM -0600, Sidhartha Kumar wrote: > ============== OVERVIEW =========================== > This series contains a 1:1 straightforward page to folio conversion for > memory failure functions which deal with huge pages. I renamed a few > functions to fit with how other folio operating functions are named. > These include: > > hugetlb_clear_page_hwpoison -> folio_clear_hugetlb_hwpoison > free_raw_hwp_pages -> folio_free_raw_hwp > __free_raw_hwp_pages -> __folio_free_raw_hwp > hugetlb_set_page_hwpoison -> folio_set_hugetlb_hwpoison > > The goal of this series was to reduce users of the hugetlb specific > page flag macros which take in a page so users are protected by > the compiler to make sure they are operating on a head page. > > Sidhartha Kumar (8): > mm/memory-failure: convert __get_huge_page_for_hwpoison() to folios > mm/memory-failure: convert try_memory_failure_hugetlb() to folios > mm/memory-failure: convert hugetlb_clear_page_hwpoison to folios > mm/memory-failure: convert free_raw_hwp_pages() to folios > mm/memory-failure: convert raw_hwp_list_head() to folios > mm/memory-failure: convert __free_raw_hwp_pages() to folios > mm/memory-failure: convert hugetlb_set_page_hwpoison() to folios > mm/memory-failure: convert unpoison_memory() to folios Hi Sidhartha, I looked through the patchset and all look fine to me. And I tested the patchset with v6.2-rc3 and no new issue is detected (I failed to boot with latest mm-unstable, but maybe that should not be caused by your patches). Thank you very much, Acked-by: Naoya Horiguchi <naoya.horiguchi@nec.com> for the whole series. - Naoya Horiguchi
On 1/13/23 1:03 AM, HORIGUCHI NAOYA(堀口 直也) wrote: > On Thu, Jan 12, 2023 at 02:46:00PM -0600, Sidhartha Kumar wrote: >> ============== OVERVIEW =========================== >> This series contains a 1:1 straightforward page to folio conversion for >> memory failure functions which deal with huge pages. I renamed a few >> functions to fit with how other folio operating functions are named. >> These include: >> >> hugetlb_clear_page_hwpoison -> folio_clear_hugetlb_hwpoison >> free_raw_hwp_pages -> folio_free_raw_hwp >> __free_raw_hwp_pages -> __folio_free_raw_hwp >> hugetlb_set_page_hwpoison -> folio_set_hugetlb_hwpoison >> >> The goal of this series was to reduce users of the hugetlb specific >> page flag macros which take in a page so users are protected by >> the compiler to make sure they are operating on a head page. >> >> Sidhartha Kumar (8): >> mm/memory-failure: convert __get_huge_page_for_hwpoison() to folios >> mm/memory-failure: convert try_memory_failure_hugetlb() to folios >> mm/memory-failure: convert hugetlb_clear_page_hwpoison to folios >> mm/memory-failure: convert free_raw_hwp_pages() to folios >> mm/memory-failure: convert raw_hwp_list_head() to folios >> mm/memory-failure: convert __free_raw_hwp_pages() to folios >> mm/memory-failure: convert hugetlb_set_page_hwpoison() to folios >> mm/memory-failure: convert unpoison_memory() to folios > > Hi Sidhartha, > > I looked through the patchset and all look fine to me. And I tested the > patchset with v6.2-rc3 and no new issue is detected (I failed to boot with > latest mm-unstable, but maybe that should not be caused by your patches). Thanks for your review and testing. It looks like the boot failure has been described here: https://lore.kernel.org/linux-mm/Y8FnAwWOxLrfoWTN@casper.infradead.org/T/#u and is not caused by this patch series. Thanks, Sidhartha Kumar > > Thank you very much, > > Acked-by: Naoya Horiguchi <naoya.horiguchi@nec.com> > > for the whole series. > > - Naoya Horiguchi