Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1890979pxb; Wed, 30 Mar 2022 12:02:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwcq59MdTDqELK3QQawAOHyvBGhMMdKpwt7Y9prsUE2g5Z7Axj/6mVE6LbWzpy2rJuBseSJ X-Received: by 2002:a17:907:eab:b0:6da:8ec5:d386 with SMTP id ho43-20020a1709070eab00b006da8ec5d386mr1079896ejc.668.1648666939533; Wed, 30 Mar 2022 12:02:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648666939; cv=none; d=google.com; s=arc-20160816; b=0YMBBUvZr183/mi4mWlqwRfzs2KvdyZvFM/NkYC/UqHEtkCDoniL2kqCUBNEvo1KI2 WG5iDZy/USxuFnIE4yzdJsbTVBwnloDK9fhxAqpVa+VIFtUiWM98/QA1ud/UR7bynRrz imMNHB9C+wzP83c0cM4FLzjiNQTmoJH5JJCuTomzQXBCbMeRayC9f9k9ugUPzgMQManP StjnIxfaWNvrigCL33Y5HIFfhJmTACZmUXNithYGLKFOLDv4BmRMpZebbUFkpvDwdjcV +nUxbDDg//J2iJt9wI8cZPsojJyh5u3mhFpVF1k8mr0tSPGvLSBvzOfdLL4N7ItmLHtq 4VWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=Zzux7evVbtH+m7VA+DSlcqgknENtBIaS5EV1mQ6pGsA=; b=iLOR29MQymdXn4OAC9d9ER/PjGX18gS8xYUHvlr043QB1LvqfFy8aubnIKF4Vl2nGw MM7EUVNY9qWOgoF1Bclr/tHpCyFbWNrOCwufvvoPFInqVasAkWVAY2vi7DqYzvje3Kcj eQKL99uBPz+E3awZRWDA0F8dc1rIBzxTuY1nYwb72QDQrz1dh638vDfCogGSnB6a0rx0 1PP5zGBckUrwdqd5PN+fpHLMuYmTBSs5QC5jopHNummDOuqvu6eRVaNeoPb9CvAZJg8E HLx89pZWROiVcwezKHJktm9f4zYDCSwFcUXQcTREqDLA1ynsdbTMc9bWgBTKdVDLk67s ZRUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=uQFfaFfH; dkim=neutral (no key) header.i=@suse.de; 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=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n15-20020a50934f000000b00418c2b5bf59si21756705eda.571.2022.03.30.12.01.48; Wed, 30 Mar 2022 12:02:19 -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=@suse.de header.s=susede2_rsa header.b=uQFfaFfH; dkim=neutral (no key) header.i=@suse.de; 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=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240888AbiC2TPQ (ORCPT + 99 others); Tue, 29 Mar 2022 15:15:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238969AbiC2TPO (ORCPT ); Tue, 29 Mar 2022 15:15:14 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D338B1EEDC; Tue, 29 Mar 2022 12:13:30 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 8631A21A2B; Tue, 29 Mar 2022 19:13:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1648581209; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Zzux7evVbtH+m7VA+DSlcqgknENtBIaS5EV1mQ6pGsA=; b=uQFfaFfHCFQbQq37zmyxuyq31d0Ap5jMuUdXvezuuG9OE/Zyhxrzb6XJQIbQin9a/bABys TXfwrvWNtB47YzOJWjEVccoIvq19a4EmQlwln5TRGBIJlBh61eFERcGZyX36qXclNmeKa3 cDI0Mp6fg/PucyIh5fXcc5tyVx9BKA8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1648581209; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Zzux7evVbtH+m7VA+DSlcqgknENtBIaS5EV1mQ6pGsA=; b=rUivqUqMHgCFVcFiGO8lOlw4ogru8KE7msvD3CVxl1qQ5+6B29DwCaWhA7n16Hyu7AmFdJ 2MHlhHiJKWyaAjBg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id D17FF13A7E; Tue, 29 Mar 2022 19:13:28 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id NOfnL1haQ2LHVAAAMHmgww (envelope-from ); Tue, 29 Mar 2022 19:13:28 +0000 Date: Tue, 29 Mar 2022 21:13:27 +0200 From: Oscar Salvador To: Rik van Riel Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, kernel-team@fb.com, Miaohe Lin , Naoya Horiguchi , Mel Gorman , Johannes Weiner , Andrew Morton , stable@vger.kernel.org Subject: Re: [PATCH] mm,hwpoison: unmap poisoned page before invalidation Message-ID: References: <20220325161428.5068d97e@imladris.surriel.com> <47936edb3b0f9c9f04f0d0d2e7f38383a22b6a3d.camel@surriel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47936edb3b0f9c9f04f0d0d2e7f38383a22b6a3d.camel@surriel.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Tue, Mar 29, 2022 at 11:49:53AM -0400, Rik van Riel wrote: > It results in us returning to userspace as if the page > fault had been handled, resulting in a second fault on > the same address. > > However, now the page is no longer in the page cache, > and we can read it in from disk, to a page that is not > hardware poisoned, and we can then use that second page > without issues. Ok, I see, thanks a lot for the explanation Rik. -- Oscar Salvador SUSE Labs