Message ID | 20221123195408.135161-5-mike.kravetz@oracle.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 77437C433FE for <linux-mm@archiver.kernel.org>; Wed, 23 Nov 2022 19:54:30 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E95906B0072; Wed, 23 Nov 2022 14:54:29 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id E45416B0074; Wed, 23 Nov 2022 14:54:29 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C71D66B0075; Wed, 23 Nov 2022 14:54:29 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id B92226B0072 for <linux-mm@kvack.org>; Wed, 23 Nov 2022 14:54:29 -0500 (EST) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 91B2C40A4A for <linux-mm@kvack.org>; Wed, 23 Nov 2022 19:54:29 +0000 (UTC) X-FDA: 80165759058.03.4CADDDC Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by imf23.hostedemail.com (Postfix) with ESMTP id 1A311140009 for <linux-mm@kvack.org>; Wed, 23 Nov 2022 19:54:28 +0000 (UTC) Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2ANIhhLs015621; Wed, 23 Nov 2022 19:54:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=pVtfB2cwHEzBeKcBPzU1VOg9DZild1IftBR2Y8xWutM=; b=rgtDgwlqJuiDeGiVfhmg7su3lXY8n2xrS+LKC9yRpzje2F9cJ5wubM1tMfOlVlyHP7YB bkUoZfFPSus6NW8d66tIMuYdljZaMrr7D2zguAagl/aPRvtGqtReR3745jrQUm1CEXJT poHc1YdLqA0q/nk/qXoCwfiE5K38KC+PYFePkkpv294ZgA0cMNEUoNZkLjw+mH3JoYZM 0qOzgwHnjvoPvugfeCwSZYTPmR6JeBOvMfr7cem1uCBn18aweYMJeqOkkTro+S2RjxPF hBk8eFOzi3TSXvlpZyHTmse6yug1oy/kWLRnOxnjle35puXg+H1nfLLVQpbMtj2U7sih Ag== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3m169535x0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 23 Nov 2022 19:54:19 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 2ANJQ8kM015585; Wed, 23 Nov 2022 19:54:18 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2102.outbound.protection.outlook.com [104.47.58.102]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3kxnk78qdt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 23 Nov 2022 19:54:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LRCsBhP6cdTyCe/AJoLdut9B1cGhb4F4KsjRP2yZ3xy3WnHD/H3jTPHIFO6wViEE3eZYP3pyTRiH3uLYzjW+gyotnlUSLBNyvAqncOW3oxmbvG1GvdEfIaBKIh5h8RiwWWRgFmwziiugJAntAeouMet3r6yNhWglMSVdxdOoKRc1arh0DtuqoT1Uf07CsQs1AgFGvxN9JvNJVOD2n6hozwUaUtK8xEorDjx/+0hwnsYdLfPunAeZk09m9QaGSI6ESrBJ0w3f36KHIw5fSOwRKnCc1rbsBUTIr9R9zLCvZYo/ZQWmCJNk+u24WWh5i/LmzEHW9e3KWF+wDRlGtqpkCQ== 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=pVtfB2cwHEzBeKcBPzU1VOg9DZild1IftBR2Y8xWutM=; b=gCm69XHItvVivqzzphyK0a3KJhmS55cikuqzus/qRTBJ8JBoS7g7X0hPOE+wQWKg2DWjdsJoexu3sUzzL1WKyfk/6QOZ8mXyaUtaCG4ZvN2IG+oMf+c3DC+p+DwbVnppsS7hWsU4O7irhfkgjvxSZoOxNp4Q4o5V3Rew/8jbTw80k24XXptvjT8PM+yM5Qg10dhDVO76/Yj8bq+8TEdKEXi2tGNSX1xaSFnHkQolXu6nBxFgTJHKszcKXss4SDnqWwdDQIsbrqEJ3gBqCnVVCu5Wtjj1+sQMXJOQDkOzF88kVMTXPvn+q2w0h2EoJrrJrurUazIIp9v/YMc7ECKUEw== 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=pVtfB2cwHEzBeKcBPzU1VOg9DZild1IftBR2Y8xWutM=; b=LKsKEXYOthItOdtW1x7FwtmfKNRwzo4iYfK9xuN//8Nam8K6d1TUmxb5krILur3n5vD0fojD+4s84hvsJ6HmjKiVk10vQitB4w3k/kqeYnogaSpIZHO428b9MMNw59LeR98ILs1Rz/VNhxdRsOQZtYRXIyYHaSAhOAgtN9Sdabc= Received: from BY5PR10MB4196.namprd10.prod.outlook.com (2603:10b6:a03:20d::23) by MW4PR10MB6300.namprd10.prod.outlook.com (2603:10b6:303:1ee::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.15; Wed, 23 Nov 2022 19:54:16 +0000 Received: from BY5PR10MB4196.namprd10.prod.outlook.com ([fe80::8d67:8c42:d124:3721]) by BY5PR10MB4196.namprd10.prod.outlook.com ([fe80::8d67:8c42:d124:3721%4]) with mapi id 15.20.5834.015; Wed, 23 Nov 2022 19:54:16 +0000 From: Mike Kravetz <mike.kravetz@oracle.com> To: stable@vger.kernel.org, linux-mm@kvack.org Cc: Yang Shi <shy828301@gmail.com>, Naoya Horiguchi <naoya.horiguchi@linux.dev>, James Houghton <jthoughton@google.com>, Oscar Salvador <osalvador@suse.de>, Miaohe Lin <linmiaohe@huawei.com>, Muchun Song <songmuchun@bytedance.com>, Andrew Morton <akpm@linux-foundation.org> Subject: [PATCH 4/6] mm: hwpoison: handle non-anonymous THP correctly Date: Wed, 23 Nov 2022 11:54:06 -0800 Message-Id: <20221123195408.135161-5-mike.kravetz@oracle.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221123195408.135161-1-mike.kravetz@oracle.com> References: <20221123195408.135161-1-mike.kravetz@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: MW4PR04CA0055.namprd04.prod.outlook.com (2603:10b6:303:6a::30) To BY5PR10MB4196.namprd10.prod.outlook.com (2603:10b6:a03:20d::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY5PR10MB4196:EE_|MW4PR10MB6300:EE_ X-MS-Office365-Filtering-Correlation-Id: 5bd5e6bd-b500-4a23-0bc1-08dacd8c8068 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8lesDBPSAFtYwHlFCoV9GNk19GlPEGct7ZJ2gv8D7qOv7sRgHltgWDDppX4IXD56k0Zw2SSsUe6Jb9S6XKhVHT/jniWG4Y9LCw7g4H4pVWpnvvA5koVAkQXoXi93phB4ElHG64p1r5i2O2G5qcfIhLRQJkXglAAZq/iHZ6OKYXQZeutNKci7gCeL5zSu7Fxc3ZO/Th/p0dFA8h4NewG65/oTkrgBvAh04yaVi1s12z8vpVY9eOiZgkZQiDwQB3zMDWeFfD4qf7H02yAU7W0HxpVbyz/WenxY31K66/eER983WApmvcWuFo1BqKyvc/9NBaStS7meSnGK+3dAovHFHC5uTly3LVdFyR2bbpjHglM0S/Z35L/gGijVQKviDuzF1HNq7jKv6qwqLG4iqBDbK+a3Pw2ne6/ExsCAEJZNwDf61mfOxOXCpW5NWVhrO0O6WLVwfsXZy0jLMOsoz18iiF8iBYPbYevXHqSvXMlcKG2Jclso/kooVT0/ypijbPTxp2T3DyWd4rYG54ByKDo/1xZXusi3GvukUuDg/Djm2pHwZJBEIN7qev732OX9mOZ1sKlLepLZixIciem+DDpw1zZOFEJnRwqL4jyzTOlcrH2+ZGsYscXAMlmIcHd8YOAyt2Qbgzw8kP3kveTAT5FVNrA+QZzRMM6cauePi5lgxYs= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR10MB4196.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(396003)(366004)(39860400002)(376002)(346002)(136003)(451199015)(36756003)(316002)(54906003)(6506007)(186003)(1076003)(83380400001)(2616005)(966005)(6666004)(6486002)(26005)(478600001)(6512007)(41300700001)(44832011)(8936002)(5660300002)(86362001)(38100700002)(2906002)(4326008)(66476007)(66946007)(8676002)(66556008);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: DpWtcAia0oK4Jb3csNMRdWnbCqR4GN8eHXwwA0QL04TBAeF6pl5nGMcqL6Kld6T5oOzD7+aRX9g4+qE7XbmUa6xhGJ6UZKgKLtv1kbk1zCsH8zUFkITA66gA4ZbAZrzR16V0/KxjtBiiC9Y47fqA3ja8n1vmF9+4+macQ3bxYLgbIu4+xB226h9DQq5IG1vzL/OSUNBIAWznOcZsXWurro6lYhgjIQObjvu296ezHiZyFM7SbvME+GxBY2/jtnPK9tPWIxTjLOB5qzX4U03bVz6Wkoxv5JGqITNClv4tffJLLQat4jJk/71VlQuYPyThM6jzzsWSMS20T7LpUCc844PRR/nZ4m5dNrY5l6UjDJV9Rjqt30SaLQqJWOQtZ8b3yiN3/g8HJ55CVtonFLw/g0NsGOvIbgI1nJI5kNVIYWG4hHJRgqJLWjqpWfes/YEi4UpePon7Rs+at8FHwWXe9FDVU5xdIDM7DNRkbewaINzKkM3ARLkUpDcykDWloO3WRyrpZbVzNqj1PGYk/nF8c3175Mq0iyXj+QoRfeDk6R6bgZwEks69NoaZusLldbnh0E0rDKLu7cTpEkcAQM2E9XHLCcpaJUON7Az2g3HBxZR8vno9Uys0kXHcGGAAf3hUfT+RU52FK9M6EKOyqc4Y6BfYCVvAu+6L3/GjV0OmuJAyDyfkEFFsuPqAe2YgKqYvugLw7f6maodKomh1+30UKR+CyNr37e+NuApWLg2FBsSg4eft6Be6vC648DVjQQ0y0MaZPsps3wm93436jIPHTRPsyLyygd+Pg2Tf79Yhx8s+dpnO0iWvEGUScn2RuX3Nh9oTaWUjaxV7BSEPi1cGEmhTL63V7DHR9fW7jxA6/d/k/DKbLRV0sSjp1VAVrbcbYKTgbPE8hFH2vc3PtaotZ3q6Zd/VphmD6crXlR9czRLV9d1m8QZFGwykJLlm2Jeapjvcz788mb3nzpcchbhxAXJoudjjhy5dVo9rRY0EQ5Q/HVHG/pnC53i19vvtc6+fvnkQIfslUXG7gfG9/ARCK0uUukiMRY0+Qhn+GrE8i/uhSFUTFIZYEheOypBqSGfYQ2GPT+/EhCuCGqsFfkHL6aIut0tDCuazACpf67bSmPjSkm5zpp7W3qflmwQF1DzoMkyS6o5+zHia16sUWJffYXxSvl8c9nx1oK1pOCmBxUshHFntRXVPZiYMyfiVOGMy8h4d6mgM7Wf8EurUbv1AkHVEDA8HZMserNF2M2Kaqte2uTCSCMcTuH7ViDBPPyGWOx7Fj3zugkfLfqAqeKtvmDK+Ct4dSFiivrhSadYWCL61D2TdCE14lb55mYGfMen2oTkaVw6eCsrCjK3cPqhtYdcM1Szt227OMxBxXxS19QR/1wIKayhD+esjOQK5Q7o0Wr73J1wNe38jNaK7rbANO7Wb64JJjnS9fF5jsu1wLh9jDOP2JF0lDC8ELAVB1mnbIhH5WMjgePTYk9L2ZQ7ve3ac0bOnr/SrgQOg8v1K6YwGLo6AQWQy8agQj/ouskIhdn22EliO4neahmKlLiKnYqMEltc+IJhHMXxtF9c7HVoRbCDxidu5Wb5TQSpeCJJ2RGo32QG/IjBvt6pQm8KUKA== X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: 736KN4UEe3eWLUCe/4l/+8sYdwHTzUXaHMQMmCdJDFcC+7z12KaTav/eQJJ1peR7Z/dGeyNSQ9xVRDrxOu9AAbbIx3X2/pTgRv1p1dhEK/UNjAtkbxrre1Lq5mfC7o96igL6zI4XocUpOvtqioSRjwda1nVJj3gKtaIc+bw24p9ez9pUEnphToXmQDs3xxXyN0ix7fjb7VgnKaoJzwNrxDdJHm8tAqiIKcuEy9ZYot+JbbiYCo5Uh0AHfZcumrNy0qPrJroGfdWgn6LiaDTDxzTr90ruKWLxhnvxGuJlRMHVA0DADLx/IbKinCcLMQsgk9O1L2zywSHiZAzMzP0ubzk5jOQAgKYBhyblFWzQvV6YHkjPaBAlVqjEdilTrHslQlsxpjk82qxKv67H7ECh/l9oNRhQ0zxukhO3dj7shYUHR8fGZlY07GasvpuZym3RN3QrK7u+TZIuDMp1oBhQvLwPefoJbizjbmrNN1Qt/pmNNukkJyYgoTu3P99+dEsxCOTPv2ORUJp2i7+sszj2/2iH0HewQAhurBmkwO1nm7UkyZcYgvCYxznqhW/HL3+vUjX0jOJQCwxorHQidSFqfs910NEh10AjazmT+T7ETEsIUmrRbFCMm4fpq4DCbeNuwPXbV9qxEdKFq0diZnnQo2vO1wxOa5niGZ4OvB1k65PMfkw6zhloddqdUfput6pvSEtxCMLbH0cKWPj9O52AD2C2at6wIFhFTR3sRQ2eFf5J4a2Ax4494fFkQxootxpBCsGSx4B9gFjbCSsh+p3z7K3uWlj4U963KaFbAJHLM1gVa5quQ3p3yLo9SAYjMgcakRd8TlUGV+bNJTozecXXdiyxEuwZj9FZnJh+AICCoYoT8j7VtV6L7YI6BjY0xc46ukGU/XwlUlwhWKIHTx/1f+QIxC0+6MPwRgs84KRY3I6qjTy1IIbbdbvAOOr4xNzp9CTFPurH00py4p//txKl2aeUNJbtKQpT9THs5kP4nmPYuVb1oy5fADtbmA2QJooLqg04SWTOtfNYBWBm4RcYpw== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5bd5e6bd-b500-4a23-0bc1-08dacd8c8068 X-MS-Exchange-CrossTenant-AuthSource: BY5PR10MB4196.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Nov 2022 19:54:16.1182 (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: 0vkKjEqWIVO/fwdbt3RReK5BpNpjQmMIdr72FtT+dY7JidxWQ0d3bvqQLhoDEbe5jT32otC2vA30BNbx8Zg57g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR10MB6300 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-11-23_11,2022-11-23_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 mlxscore=0 suspectscore=0 malwarescore=0 spamscore=0 bulkscore=0 mlxlogscore=999 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2211230147 X-Proofpoint-GUID: yOzyaioO4GvBuckF64dTkjCHXxmYYQIK X-Proofpoint-ORIG-GUID: yOzyaioO4GvBuckF64dTkjCHXxmYYQIK ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1669233269; a=rsa-sha256; cv=pass; b=ebZs2TC9rmvcO43AT0MWdp10b2h474XnadEkGkWPg1fCzZ9Zj2M9EBMIHMlaRewWl66E1z wXzye6z3Xm6AlWb2FOsvilMRD4Fq4vRE7zMcavWwXC1ZYl+AFiL99uZAtAxpBztGooZY2I HXV+7ckIte9xw1g+XmG6qTaRaQi1yts= ARC-Authentication-Results: i=2; imf23.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2022-7-12 header.b=rgtDgwlq; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=LKsKEXYO; spf=pass (imf23.hostedemail.com: domain of mike.kravetz@oracle.com designates 205.220.165.32 as permitted sender) smtp.mailfrom=mike.kravetz@oracle.com; dmarc=pass (policy=none) header.from=oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1669233269; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=pVtfB2cwHEzBeKcBPzU1VOg9DZild1IftBR2Y8xWutM=; b=Pgsp3R6cxo3ixz2LSAgzPScITOZ6wNHDyDeSM9PX2aFNZjHMuf8kgi811dxja5uHNfubHh uRx6FcPa7HTd6fjpK4UKJxjXhoyPIf0wmPP4QefRywiitlbr7F2a61H9FmVoi8iSQE98yJ NyNMl+lH/oZRbZ4QhqrQE4mO1q/Zoic= X-Stat-Signature: yssu77tbz8mi1ww3etnz6a4pk7hii5rb X-Rspamd-Queue-Id: 1A311140009 X-Rspam-User: Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2022-7-12 header.b=rgtDgwlq; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=LKsKEXYO; spf=pass (imf23.hostedemail.com: domain of mike.kravetz@oracle.com designates 205.220.165.32 as permitted sender) smtp.mailfrom=mike.kravetz@oracle.com; dmarc=pass (policy=none) header.from=oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") X-Rspamd-Server: rspam02 X-HE-Tag: 1669233268-862942 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
hwpoison, shmem, hugetlb: fix data loss issue 5.10.y
|
expand
|
diff --git a/mm/memory-failure.c b/mm/memory-failure.c index 0f77ec1985dc..1d37de089008 100644 --- a/mm/memory-failure.c +++ b/mm/memory-failure.c @@ -1154,14 +1154,11 @@ static int identify_page_state(unsigned long pfn, struct page *p, static int try_to_split_thp_page(struct page *page, const char *msg) { lock_page(page); - if (!PageAnon(page) || unlikely(split_huge_page(page))) { + if (unlikely(split_huge_page(page))) { unsigned long pfn = page_to_pfn(page); unlock_page(page); - if (!PageAnon(page)) - pr_info("%s: %#lx: non anonymous thp\n", msg, pfn); - else - pr_info("%s: %#lx: thp split failed\n", msg, pfn); + pr_info("%s: %#lx: thp split failed\n", msg, pfn); put_page(page); return -EBUSY; }