From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 85EBEC433EF for ; Mon, 21 Mar 2022 17:32:15 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 099656B0071; Mon, 21 Mar 2022 13:32:15 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 020F26B0073; Mon, 21 Mar 2022 13:32:14 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E03D16B0074; Mon, 21 Mar 2022 13:32:14 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0043.hostedemail.com [216.40.44.43]) by kanga.kvack.org (Postfix) with ESMTP id CC1966B0071 for ; Mon, 21 Mar 2022 13:32:14 -0400 (EDT) Received: from smtpin19.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 786A91828A7FD for ; Mon, 21 Mar 2022 17:32:14 +0000 (UTC) X-FDA: 79269086988.19.34B32F0 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf03.hostedemail.com (Postfix) with ESMTP id 850B420018 for ; Mon, 21 Mar 2022 17:32:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=3T6wnvo7mpev7xDJfhCoh0f11GtrkgGzXnER9tWcj6I=; b=mmhNcOjH0fB8f536HUb1id2F9r GfuDdHQ2PZMkAvPob3nkkhkVtzuREjEEM3Kxx/Tud2a0AZijGrZRRoPpu8FDtx82eRwS1wGu0DiOo jBWawk2lHUK6mzCXIPJeq4am2D0Ywtdcu2VXxQRtZy6xvY8gGD0wZU7wfWyj8PDcXSQ+FJ1Gg51lM WQ0MfJykIRcL44slFU8/MD9eIPJKOYHtyeBCVbKfzF8rOlRpxfWxr7Yasch1MTRddsAIqy3foPtFz j2QLeUDdRvPQ9RpCIc5gcE9gSCjOGN0AYVtsNnu94s7TQo74wTW0yQOFCvsBTmH/yweY3rPfyFxaF cT+jIeOA==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nWLt0-00An1B-5g; Mon, 21 Mar 2022 17:32:06 +0000 Date: Mon, 21 Mar 2022 17:32:06 +0000 From: Matthew Wilcox To: "Luck, Tony" Cc: linux-mm@kvack.org, shy828301@gmail.com, naoya.horiguchi@nec.com, mike.kravetz@oracle.com, bp@alien8.de, linmiaohe@huawei.com, akpm@linux-foundation.org Subject: Re: unhandlable pages Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: 850B420018 X-Stat-Signature: i5a8mp98191cnjao1peojbanz6f8oeqx Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=mmhNcOjH; spf=none (imf03.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org; dmarc=none X-Rspam-User: X-HE-Tag: 1647883933-439396 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: On Mon, Mar 21, 2022 at 10:28:25AM -0700, Luck, Tony wrote: > On Mon, Mar 21, 2022 at 05:21:05PM +0000, Matthew Wilcox wrote: > > On Mon, Mar 21, 2022 at 10:17:29AM -0700, Luck, Tony wrote: > > > Validation folks are seeing this on a v5.16 kernel. I don't > > > see any changes in v5.17 that look like they address it. > > > > > > Mar 04 14:05:05 JF5300-07B181T kernel: page:00000000696b0b6a refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x195cda44 > > > Mar 04 14:05:05 JF5300-07B181T kernel: flags: 0x57ffffc0801000(reserved|hwpoison|node=1|zone=2|lastcpupid=0x1fffff) > > > Mar 04 14:05:05 JF5300-07B181T kernel: raw: 0057ffffc0801000 ffff6ea817369108 ffff6ea817369108 0000000000000000 > > > Mar 04 14:05:05 JF5300-07B181T kernel: raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 > > > Mar 04 14:05:05 JF5300-07B181T kernel: page dumped because: hwpoison: unhandlable page > > > Mar 04 14:05:05 JF5300-07B181T kernel: Memory failure: 0x195cda44: recovery action for unknown page: Ignored > > > > > > Som debugging shows this is an anon page (expected ... that's the > > > type of page where the error was injected. They see shake_page() > > > called three times, but it doesn't change anything, so the page > > > is reported as unhandlable. > > > > Uhm, that's not PageAnon. page->mapping is NULL, and anon pages have > > the bottom bit set with the rest of the page->mapping pointing to its > > anon_vma. Why do you think it's an anon page? > > Sorry. I didn't do that decode ... just copied what was in the internal > report. If it isn't anon, then does that page dump give info on what > type the page is? No (I would have volunteered that if it had a type!) It could be a truncated page cache page. But it has the Reserved bit set, which makes me think it's a device driver or something?