Message ID | 20250113082718.1872494-1-mawupeng1@huawei.com (mailing list archive) |
---|---|
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 E0206E7719E for <linux-mm@archiver.kernel.org>; Mon, 13 Jan 2025 08:34:43 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 596ED6B0088; Mon, 13 Jan 2025 03:34:42 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 4FC906B008C; Mon, 13 Jan 2025 03:34:42 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 216786B0089; Mon, 13 Jan 2025 03:34:42 -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 EECD46B0085 for <linux-mm@kvack.org>; Mon, 13 Jan 2025 03:34:41 -0500 (EST) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 709AE47E25 for <linux-mm@kvack.org>; Mon, 13 Jan 2025 08:34:41 +0000 (UTC) X-FDA: 83001767562.10.ED8D565 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by imf29.hostedemail.com (Postfix) with ESMTP id 2E6B1120006 for <linux-mm@kvack.org>; Mon, 13 Jan 2025 08:34:38 +0000 (UTC) Authentication-Results: imf29.hostedemail.com; dkim=none; spf=pass (imf29.hostedemail.com: domain of mawupeng1@huawei.com designates 45.249.212.255 as permitted sender) smtp.mailfrom=mawupeng1@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1736757279; 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: references; bh=aGdvzKYs9Kh+VMFI3AvmTkouQrpyH7p6UWd4DrolYM8=; b=qEilBzgaeIt716XxanrlhwH506ete3NWHIvWzrvUJRG8gZI7Ox1i9i61x3WVNWafqs3gAR AF5Fmdo+3pjViqr5UAv3Jo5/97IGvjefi3/0aRpFdPDTmELtVsUHT+mYykaG50Ne7KVCx7 Tg+g6stF3FsBoPTbSdoY5Yf+zlcDkHc= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1736757279; a=rsa-sha256; cv=none; b=J0DHhI9LKZnY+vpSWCZNMa4L0z8UuOY4Q/7eSiJ6YAfsPNZKcFQGLdjMoRf2w99FFP4tIt YfMQxkZjiTATUFGLp3RcCW81ACIc3uiThX5HE4GZ1bFwDtYGmxngmKt4fy97dWhq4FGKGN 6PxyiqmmrQATtybdrPWFy2xmg7qOmGg= ARC-Authentication-Results: i=1; imf29.hostedemail.com; dkim=none; spf=pass (imf29.hostedemail.com: domain of mawupeng1@huawei.com designates 45.249.212.255 as permitted sender) smtp.mailfrom=mawupeng1@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com Received: from mail.maildlp.com (unknown [172.19.88.194]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4YWlny4g0zz1W3wx; Mon, 13 Jan 2025 16:30:46 +0800 (CST) Received: from kwepemg100017.china.huawei.com (unknown [7.202.181.58]) by mail.maildlp.com (Postfix) with ESMTPS id AEA0F1401F4; Mon, 13 Jan 2025 16:34:34 +0800 (CST) Received: from huawei.com (10.175.124.71) by kwepemg100017.china.huawei.com (7.202.181.58) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Mon, 13 Jan 2025 16:34:33 +0800 From: Wupeng Ma <mawupeng1@huawei.com> To: <akpm@linux-foundation.org>, <david@redhat.com>, <osalvador@suse.de>, <nao.horiguchi@gmail.com>, <linmiaohe@huawei.com>, <mhocko@suse.com> CC: <mawupeng1@huawei.com>, <linux-mm@kvack.org>, <linux-kernel@vger.kernel.org> Subject: [PATCH 0/2] mm: memory_failure: unmap poisoned filio during migrate properly Date: Mon, 13 Jan 2025 16:27:15 +0800 Message-ID: <20250113082718.1872494-1-mawupeng1@huawei.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.175.124.71] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemg100017.china.huawei.com (7.202.181.58) X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 2E6B1120006 X-Stat-Signature: 95aouzis7kjmfes7xwdxchyna9neny69 X-Rspam-User: X-HE-Tag: 1736757278-671071 X-HE-Meta: U2FsdGVkX181sTbqEwX5PKG1amBCUsPxcNt10GuCndPf1XHgDJWcDtkqrbcDrUVWcjuZ5D7vpsVYBz8ugJbYqam5EpvW6n7rHKRtv2eEXa6aTsvZQRjYtD6/rE0LrsISYAjTvFW0wJm257gDgx6xCHNNa+eG1P0ts9HZn1tMPqSBVrV1VEi1W3d3MhaVttRibXy8ya4pxLpXjwT7Lp+/QZe54pNJYPby0qFLHZUeXiLA5uTXx9NqCdlef/0+U8qAoy79OviTQ0TA3QTPmNdDmcZ7lhMWGpM80JKCz/JeBGKPd4YdyXiwFYl3IcaJ288rS6ZVaZm7ltXhQroAWT0VZ50QIGLBS3u7YSZRYouUGN0itJ0RwN5EYhiet3yO03e04BHVDRDJcTJ3nfrAMLA/56EhLMrxGy9htJMKkhuFX40/omymkyqTjZRayX77RyuXTDItaIp706hkfAs8MkaBLMGhNFvpe0yqLRXXzeUEJbv4XOtCoIZbivmuEjp3NJwgINEwvW0A3Y337jpL3mJUQv1dPy5jVHpcANXwjtfxhxf9oAJ7Wg5LCKcLn4dahWJTvf/DarGQnqB2DFmmXTo+TeYOquuuHeWuP94jwgTk7J9o+afFDVfMKAfnfdjTSIyNZ8pSc1b9OthHQ6IIZnRHKzXHsDaSXyMluZK9il1RkyksRQXifBCn2KBWHyQxJbIWe/J8tMk3Nr0NiwE7MXPlUytWpy+22B4KXScJ8hlbTpL8jUWzDlh4VPR3ZjO7gmfcw/McMJQy3FihNjE6/rNh7winNBOv3c426PSiXB2v+o318IUklLaFCw6/RbaabEQ9EgmVfmUDExMeUJsPRMClg89BOfWquYJ6IjO4q5DizbWgmKlk6jNjOxvmVfSFNwRrMvUMkvyIuucTyq+2bo3nAv3a0vufzugjSysLjPlArb9ooUASWNqtfjHJFyRvjw540LuMaoFEQ+NWIPnDLto JUIZAX3L JVTuhdn5xpWQYlDqQNlRnhz26355wVh44cr7gWlKu5oEn1bo1h/hkAUEJKtIjsdoVm3bOOeygkEuniUGxgo9UBy3zL+hqo8WV8DDW+K8SveiiGXk+5hEb8zFOa9GIk1w+hUvEfyqVypVsP/XoRVwJ6z7xQfH47zzzUI4xLMYorkzn9GGOBgEq5xLNTlMujEpog2AyGPJYnERU2gNQiQVxErDwnUeGtR/odzTSjqh4ra/pQb6Lm1B0SPlawG+ZQT/csSmf X-Bogosity: Ham, tests=bogofilter, spamicity=0.006067, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
mm: memory_failure: unmap poisoned filio during migrate properly
|
expand
|
From: Ma Wupeng <mawupeng1@huawei.com> Fix two bugs during migrate folio if folio is poisoned. Ma Wupeng (2): mm: memory_hotplug: add TTU_HWPOISON for poisoned folio during migrate hwpoison, memory_hotplug: lock folio before unmap hwpoisoned folio mm/memory_hotplug.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)