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 2BDF8C433F5 for ; Mon, 21 Mar 2022 21:07:43 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6A7E06B0072; Mon, 21 Mar 2022 17:07:42 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 658AF6B0073; Mon, 21 Mar 2022 17:07:42 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 51F0C6B0074; Mon, 21 Mar 2022 17:07:42 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.26]) by kanga.kvack.org (Postfix) with ESMTP id 43C016B0072 for ; Mon, 21 Mar 2022 17:07:42 -0400 (EDT) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay11.hostedemail.com (Postfix) with ESMTP id 062C080EFA for ; Mon, 21 Mar 2022 21:07:42 +0000 (UTC) X-FDA: 79269629964.11.FFFA915 Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by imf07.hostedemail.com (Postfix) with ESMTP id 5E62A4000B for ; Mon, 21 Mar 2022 21:07:41 +0000 (UTC) Received: by mail-pf1-f169.google.com with SMTP id s8so16508813pfk.12 for ; Mon, 21 Mar 2022 14:07:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=L+i9sNYhHUvFTefVvNAmWkWrS/Xn0KBwHrjmSByjFxE=; b=LiLa8QhnkaTAN0YNVMIIHQbZhlNcGle7UZfpp16qruPjXd0chy9v6UwbIP/6PFFUhz 7eXZ45OMOQ1M6ZxxF9BVhXAmqQJMSTl+u0h7QF2yOnhGoa4cJ9Mu0r8aO8H9iGvgwQOi m9JfctR+6tuYBRIA+2qrybiR1XAoK3FpT8VBxSbnuRpBIsOGE+kac3Awmtd9z22zxAv3 GH3DRQdTa7OTRgsu3cuUqAH4o/dJll4WQp9GLsRj56F7FvuzQsB8XbNFX+yANnQGU5VO bLhIFY2FyMisDTUWQrrbz7dYeHWEyh2AEhm21Kz+mxjtuTw5dbtc1HPQMMcICKmMe6pA 5+rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=L+i9sNYhHUvFTefVvNAmWkWrS/Xn0KBwHrjmSByjFxE=; b=yZGuLGupwUQPCXIqQcpEnyNjJVVzm/dCs28fM473Wpc9oof7G6zbCE/bJ0zip0Ek75 /oHZkRSKnTJjffDaYq19DtSFBPWshOEefa/x7kPcTTzSOx0JcsNhrl80bMbBcHpioIAA t9f6i0qHBylUREklwLRj0YbwddhH2xKKVrzzA5eOukjLeGlLX9rE0yel67qyvorsLCBb k79DRqeyLq4A87P19mNihcAnoIUoQqr3bkepDSnsRnWMueQMDYOjDTr5FYiNMiX/HsYt 2BRnmnuPOVsiG61VKDeUgZUR7x0oTIpUgWxEpNG25hUMeGJrfE0nmx28DWBFo/+etXSs Rf+w== X-Gm-Message-State: AOAM532FvDBiPvSVt1CFjYRugWZn0MTv32wF07PkxVxtBhj6lVJ+D/n+ dJxnWBAl1iU5YIC/ih1ea0era7UhCe6aWaNH0gShvcBQ X-Google-Smtp-Source: ABdhPJxBOHV9+1uTErcS6T4rftwZ4+JzO2HiYSIfjaHxeBnnpluDdcitwlKQx0C6mKTF361tVpBy8wyVxrLWXbf5geE= X-Received: by 2002:a05:6a00:2290:b0:4fa:a99e:2e21 with SMTP id f16-20020a056a00229000b004faa99e2e21mr4363524pfe.20.1647896860226; Mon, 21 Mar 2022 14:07:40 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Yang Shi Date: Mon, 21 Mar 2022 14:07:28 -0700 Message-ID: Subject: Re: unhandlable pages To: "Luck, Tony" Cc: Matthew Wilcox , Linux MM , =?UTF-8?B?SE9SSUdVQ0hJIE5BT1lBKOWggOWPoyDnm7TkuZ8p?= , Mike Kravetz , bp@alien8.de, Miaohe Lin , Andrew Morton Content-Type: text/plain; charset="UTF-8" X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: 5E62A4000B X-Stat-Signature: o5cdwn8x68t9rkofrm4ganx6zpqy7e9y Authentication-Results: imf07.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=LiLa8Qhn; spf=pass (imf07.hostedemail.com: domain of shy828301@gmail.com designates 209.85.210.169 as permitted sender) smtp.mailfrom=shy828301@gmail.com; dmarc=pass (policy=none) header.from=gmail.com X-Rspam-User: X-HE-Tag: 1647896861-745609 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 AM 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? As Willy said we can't tell what type the page is. Per the dumped information, the page has: - 1 refcount, likely get from hwpoison - 0 mapcount, unmapped and not unmapped by hwpoison since dump_page() is called before that, - NULL mapping - PG_reserved flag is set and no other flag is set So I just can say it is very unlikely to be an anonymous page. It is not slab either. And neither anonymous/page cache nor slab should be reserved flag set, so it should be some other types. > > -Tony