Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.45 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795890988; b=LbOumdSeLziM5BsJjdXPxTrDpKdpXpXrkBk8fXHD34dLRy+PX8qSygxZU/2oa6h60SyQ yFQo6jRl72PFp/eVSnkGk+2yPieiq6onWKNKQTpp/m2ZIigIwNl1QW5k6LPoLHXnjdImc kSdKoKWIKBP5aIBU+s6vnSxy0tkkNghJxDAl4Uxr1pbasN+eC7USBbNf7I21N55E44PUG lBp2Lnrv/tPLMtjJucu6SopuD1v+QN4B/hra5iLQbnHAspzVPUpgdI5JgqdBlYbWgKtc6 5L7oYqaeG495NE86HLkEMRNhk5D+26CPjn3707sQ+B6HKjF/wu7dlTCnjKMWXYWaqSQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795890988; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=6eWQwvoTP/a7BQuEqk2G5rUTVuZKnljog3f67C6apII=; b=vCR0yyfIMb94qVBoi/yYSpB7wxdsbUFfkNYOwwSvqiL+bTSBjWwXoJRV08UpvjeM/cuW Vkj7TYRmpeEXocM6ABdJSZguXkdnPOmIRvxypSvWKMTRq00G+WpUl/3cadGDljxeUnlcc ooK9Y8nMiXG/einJxe7sfORgEAQ6+/u7PhlGIlAv9XejOdUn7tW1caSWALBze0Viax+47 rhJtrPtzGRnm72+63yb6VRyECWD20rtDYAeQqusPlfute7uDtJx+8CVro6clHIfbGjg5e dDNtuBlKwrvYatj7lXmShq2pDw77seff3sKYULB0dldaEEMoqZkznrxIeNGCma92KFw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=gvaAQgXt; arc=none smtp.remote-ip=74.125.82.45 Received: from mail-dl1-f45.google.com (mail-dl1-f45.google.com [74.125.82.45]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 652F6606A31C for ; Sat, 28 Nov 2026 18:36:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 652F6606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=gvaAQgXt Received: by mail-dl1-f45.google.com with SMTP id a92af1059eb24-1a2761c69fbso14043424c88.0 for ; Sat, 28 Nov 2026 10:36:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795890987; x=1796495787; darn=lists.linux.dev; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=6eWQwvoTP/a7BQuEqk2G5rUTVuZKnljog3f67C6apII=; b=gvaAQgXt4AFZWgW+qCtl1/7GAOfOUvQC3ldRmOTG9JLChQ9OA/JhQKy75CG2GR95o9 KXsCFsCIZdtfxdgPqxniDJYFJsdesYNUzo+mipH2RFT1ZwPxudadn9y6sMcNN7BHgyGi Mcd61J7WATf2ctEHP4Y52rxK7C5+m8sOPQRqMlbld4+S73NSaynKbOc5WZxuE+fcK+qt vuuE610z6Kq4SgDGAP0ZVkmJmRNMClJMDFAxiVNkfz7vK5n1wDu5OQ9iOyroBzUioOR7 6cQqtutVJ6cRtT1K4WxQJ9sq7qGno3RrL6de3xDy0E73j1C/EO6M6QRXXzl4kGyRolbH XKXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795890987; x=1796495787; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=6eWQwvoTP/a7BQuEqk2G5rUTVuZKnljog3f67C6apII=; b=mNDNis8DsaWjh/ehaZxVW187OPJG+ekjMYT/EX0e1uob2ZMeBBE1yhlpDT/KOKK9VN xd2X1sTtqI3r3xQBzSXsGNKfSGugfmTrNZsDiqy7EVFoP+tMKtQp+opB+//lusX1XRvS Wn3CvoIsaEfaqU+bHqXa3mz72sbYro3Ojm7fwstTb5aCsiPMbrFaXH+Z5pQW1Q07g0dd xkXrsQEjc6j98iNegCY2ouGtz4bkBfDAymQroejjxBC4c6POei/FCZao59L3ODGV5OzY BHSPzTTyYtez5WoCldFV1ltBb/w6njfzR3D+BCRGcZD05LloUCsj+GZI7TMdT1VWxhln FQnQ== X-Forwarded-Encrypted: i=1; AL+hErE+7wCDKQK7zt6EMSuXfycdr88vtrE4aZVosdKRzETSmKiW/akpXaS9wBiMmilueGaz66kZU74fYoHj@lists.linux.dev X-Gm-Message-State: APuU4Z/KgDNdye0cC5jW6dyFTlUxb5/erhpOv2/a5Act9fIU/Sujpyes GgZlpJzfgissfdCzEgcze21RpbzkJexAwS316TQv9dfmnz33ZVxmr8rU X-Gm-Gg: AZFdTZf11i/Pc8xnh3jehmbaDgvX7iApKj7MDuqHgkpWWa4mN3VnXFZNo/n/Qluxnwb 7D/mwgkE7HS465RJyzYsKisJNz09ddxTk3NNIo5gjRQfF5zrbq2BP42YxmRTz/nPauRvpfM7jX1 PMyx3h6Um5WdxcpffvTHociB5iBZ2YeFrdg+B4TpkJLamxWWtsnrCjlThthoD918AX73kGWvAa3 drgZuBiMlrBt3Hl0rxGTwdo53EQ82mMq8JhCAcmZ+1400uxg/RuwRSjFHi0xuneW+Pmttv62543 47nn/MEP64hQdAbm6GuGWyE90+VtVv7ZDJE/f1IMYeDcJEsRAzj07OIjev0mXu2DfnDYsKbujyu wbuxh87POg1ebUPviKZT2gR3AAG70qm4kjJ8gO+Zh1W4npbOvqO30B804xAq0SZ8Hcf9P5sgFAX o2GcJPCCNOyvZMjcZpeGjPet5Rr0v6I7v631dwakI/wqMwDYa+04HN5CbB5PsKKcJoowflWPAeY GMHPp5Z/Bhd0m+lbmVEtVutdeLrdW96albQM3KXYWVjNt4zaDExxWnmzJPxQdFqdmC+XoynMcVp y5XvnM2r7MHUSgWEJ62vMFBW+TYL/I2phB+WeCg85CJZsKu5TKcUnsqpXRnyeENTw9BUUFrk1eb 272baBPW69JcfGLsQ X-Received: by 2002:a05:701b:4584:b0:1ac:9da7:e86e with SMTP id a92af1059eb24-1b556908c17mr28032431c88.30.1795890987349; Sat, 28 Nov 2026 10:36:27 -0800 (PST) Received: from localhost (218-35-178-218.cm.dynamic.apol.com.tw. [218.35.178.218]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-1b55682d301sm67473224c88.10.2026.11.28.10.36.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Nov 2026 10:36:26 -0800 (PST) From: Kurt Lin To: Andrew Morton , Miklos Szeredi Cc: Miaohe Lin , Naoya Horiguchi , fuse-devel@lists.linux.dev Subject: Re: [PATCH] fuse: let memory-failure remove poisoned page-cache folios Date: Sun, 29 Nov 2026 02:36:22 +0800 Message-ID: <20261128183622.2993355-1-lylin1023@gmail.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <82801b542ac4481a85ec2c869294ca28.1@linux-foundation.org> References: <82801b542ac4481a85ec2c869294ca28.1@linux-foundation.org> X-Mailing-List: fuse-devel@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Fri, 27 Nov 2026 22:30:14 -0800, Andrew Morton wrote: > Tested on x86_64 under QEMU with a minimal /dev/fuse server and simulated > poison (MADV_HWPOISON), with and without the writeback cache and with > FOPEN_NOFLUSH. The memory-failure selftest then passes 40 of 40 runs on > FUSE. Not tested: virtiofs, DAX, a real memory error. Tested on virtiofs, without DAX, in a virtme-ng guest, using the memory-failure selftest's hard dirty_pagecache case (MADV_HWPOISON). Both kernels are mm-new 87cdbd9bd631, one with only this patch reverted, 21 runs each: kernel recovery action for dirty LRU page 87cdbd9bd631 + revert Failed (after "Failed to invalidate") 87cdbd9bd631 Recovered On ext4 both kernels report Recovered. With the patch, the memory-failure selftest from mm-unstable also passes 50 of 50 runs from virtiofs. DAX and a real memory error are still not tested. Tested with the help of an AI coding assistant. Tested-by: Kurt Lin