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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5EA68C43334 for ; Thu, 9 Jun 2022 04:45:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231722AbiFIEpA (ORCPT ); Thu, 9 Jun 2022 00:45:00 -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 Precedence: bulk List-ID: X-Mailing-List: linux-csky@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. :)