Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp85033iol; Wed, 8 Jun 2022 22:42:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxe+0VUgVgMV2d8706uxNRKPILfUIlckoC7r0tV8Vb8WEaiDyhtqaR/3J5lT7gNSoNBmWje X-Received: by 2002:a05:6a00:2148:b0:4fa:92f2:bae3 with SMTP id o8-20020a056a00214800b004fa92f2bae3mr38414341pfk.69.1654753335924; Wed, 08 Jun 2022 22:42:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654753335; cv=none; d=google.com; s=arc-20160816; b=Op9YblkEo9jmp9dV1xKZLBtSRXGw8Vc87vBiAchplCKEoHjBzC2thzhkJ/YawMysoW /FTA8dE+DFUSfoDoxZ0qTtvaiyzMSCviPQO/3O7uy9L8P76j5qXu0cnm3MpoJpfIaDBy O/1+2hahJq+ZOPw7koeLB77dA0VIWDc8TO/snDPvng0Nk5VB7V3nh3epAit1YHwSMWzm ATorR5UdoDgADX+1/R/nRb+61M9HYT4G3liXcQLvAoWphvXEf4U8YAOC1AN3iwtr86hs jXNCgO+0BRwIpHzSvUdlpdmJQSMrhQRxrYCbCKzC87b/ejCc5xY7jOres+tnBDQGaQLf fNIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=47odESoglYc5JFjHNZblgZdefWnSi6FX323KZX894gw=; b=vHR1OwYCUtUkC2IL4AoqsVGeuUFhC/FsKnU+F0UW+J8TjeSwoST6SWS8Gpt5HTMp/p Ens/heyxHqgx1RkzJW6cl/Y6ssrb0R9UnuIf9XmFMcFtvg/66vCkOPePcyAETD478nUg C0jFGbKWMneo4vi3hSIFO7j/w++M1y9kZjoaxsqqg4XzyOUn1r85uCfVxPkC3QV34fVu MKEIsxPvcPv0KdrT331++6ekrpTlvHuyyKrF4fl3ijCSyL2CwBX6C0Adc5SesdNuMQxy wjT+BA4UfN52fKB6w/DHCaXrk76x7cztLHjGD/1WysqRfypt7npPcLrdwziJCvJm5AJ6 8dcw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m2-20020a632602000000b003fbec4a05e2si33183921pgm.271.2022.06.08.22.42.04; Wed, 08 Jun 2022 22:42:15 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237314AbiFIEpB (ORCPT + 99 others); Thu, 9 Jun 2022 00:45:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229791AbiFIEpA (ORCPT ); Thu, 9 Jun 2022 00:45:00 -0400 Received: from out30-57.freemail.mail.aliyun.com (out30-57.freemail.mail.aliyun.com [115.124.30.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA7DE23687C; Wed, 8 Jun 2022 21:44:58 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R131e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04400;MF=baolin.wang@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VFqwi0e_1654749895; Received: from 30.97.48.137(mailfrom:baolin.wang@linux.alibaba.com fp:SMTPD_---0VFqwi0e_1654749895) by smtp.aliyun-inc.com; Thu, 09 Jun 2022 12:44:55 +0800 Message-ID: <59676cdf-a719-efcd-d5c1-b43198dc4348@linux.alibaba.com> Date: Thu, 9 Jun 2022 12:45:05 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [mm] 9b12e49e9b: BUG:Bad_page_state_in_process To: Matthew Wilcox , kernel test robot Cc: 0day robot , LKML , linux-csky@vger.kernel.org, openrisc@lists.librecores.org, linux-arch@vger.kernel.org, lkp@lists.01.org, akpm@linux-foundation.org, linux-mm@kvack.org References: <20220608143819.GA31193@xsang-OptiPlex-9020> From: Baolin Wang In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-11.1 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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 6/8/2022 11:07 PM, Matthew Wilcox wrote: > On Wed, Jun 08, 2022 at 10:38:19PM +0800, kernel test robot wrote: >> >> >> Greeting, >> >> FYI, we noticed the following commit (built with gcc-11): >> >> commit: 9b12e49e9b02bbaca8041f236a6b2fd4586d45c8 ("[RFC PATCH 3/3] mm: Add kernel PTE level pagetable pages account") > >> [ 75.338681][ T4873] BUG: Bad page state in process 444 pfn:20b066 >> [ 75.338840][ T4873] page:0000000016cf0259 refcount:0 mapcount:-512 mapping:0000000000000000 index:0x0 pfn:0x20b066 > > mapcount:-512 is PG_table. Somebody forgot to call > pgtable_pte_page_dtor() (or similar) Right. Thanks for reminding. :)