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 6A1F1C43334 for ; Thu, 9 Jun 2022 04:45:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234574AbiFIEpD (ORCPT ); Thu, 9 Jun 2022 00:45:03 -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-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. :) 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 mail.librecores.org (lists.librecores.org [88.198.125.70]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F019C433EF for ; Thu, 9 Jun 2022 10:42:00 +0000 (UTC) Received: from [172.31.1.100] (localhost.localdomain [127.0.0.1]) by mail.librecores.org (Postfix) with ESMTP id 78E6424868; Thu, 9 Jun 2022 12:41:58 +0200 (CEST) Received: from out30-42.freemail.mail.aliyun.com (out30-42.freemail.mail.aliyun.com [115.124.30.42]) by mail.librecores.org (Postfix) with ESMTPS id E722D20CE9 for ; Thu, 9 Jun 2022 06:44:59 +0200 (CEST) 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 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-Mailman-Approved-At: Thu, 09 Jun 2022 12:41:56 +0200 X-BeenThere: openrisc@lists.librecores.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Discussion around the OpenRISC processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arch@vger.kernel.org, 0day robot , linux-mm@kvack.org, LKML , linux-csky@vger.kernel.org, lkp@lists.01.org, openrisc@lists.librecores.org, akpm@linux-foundation.org Errors-To: openrisc-bounces@lists.librecores.org Sender: "OpenRISC" 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. :) From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============8692923396258309513==" MIME-Version: 1.0 From: Baolin Wang To: lkp@lists.01.org Subject: Re: [mm] 9b12e49e9b: BUG:Bad_page_state_in_process Date: Thu, 09 Jun 2022 12:45:05 +0800 Message-ID: <59676cdf-a719-efcd-d5c1-b43198dc4348@linux.alibaba.com> In-Reply-To: List-Id: --===============8692923396258309513== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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: A= dd 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 ma= pping:0000000000000000 index:0x0 pfn:0x20b066 > = > mapcount:-512 is PG_table. Somebody forgot to call > pgtable_pte_page_dtor() (or similar) Right. Thanks for reminding. :) --===============8692923396258309513==--