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.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4F5B2C433F5 for ; Thu, 7 Oct 2021 18:57:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 24BC7610CE for ; Thu, 7 Oct 2021 18:57:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233897AbhJGS7n (ORCPT ); Thu, 7 Oct 2021 14:59:43 -0400 Received: from out03.mta.xmission.com ([166.70.13.233]:46128 "EHLO out03.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233866AbhJGS7m (ORCPT ); Thu, 7 Oct 2021 14:59:42 -0400 Received: from in02.mta.xmission.com ([166.70.13.52]:56214) by out03.mta.xmission.com with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1mYYaR-005Ij6-8u; Thu, 07 Oct 2021 12:57:47 -0600 Received: from ip68-227-160-95.om.om.cox.net ([68.227.160.95]:48228 helo=email.xmission.com) by in02.mta.xmission.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1mYYaP-006fsf-4s; Thu, 07 Oct 2021 12:57:46 -0600 From: ebiederm@xmission.com (Eric W. Biederman) To: Stephen Rothwell Cc: Linux Kernel Mailing List , Linux Next Mailing List References: <20211007144701.67592574@canb.auug.org.au> Date: Thu, 07 Oct 2021 13:56:43 -0500 In-Reply-To: <20211007144701.67592574@canb.auug.org.au> (Stephen Rothwell's message of "Thu, 7 Oct 2021 14:47:01 +1100") Message-ID: <87fstcfytw.fsf@disp2133> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1mYYaP-006fsf-4s;;;mid=<87fstcfytw.fsf@disp2133>;;;hst=in02.mta.xmission.com;;;ip=68.227.160.95;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX1+CuyOSS9Ee+C+kXl+dwJxQ622Pnrj4nis= X-SA-Exim-Connect-IP: 68.227.160.95 X-SA-Exim-Mail-From: ebiederm@xmission.com Subject: Re: linux-next: build failure after merge of the userns tree X-SA-Exim-Version: 4.2.1 (built Sat, 08 Feb 2020 21:53:50 +0000) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org Stephen Rothwell writes: > Hi all, > > After merging the userns tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > In file included from include/linux/kernel.h:19, > from mm/debug.c:9: > mm/debug.c: In function 'dump_mm': > mm/debug.c:251:28: error: 'const struct mm_struct' has no member named 'core_state' > 251 | mm->binfmt, mm->flags, mm->core_state, > | ^~ > include/linux/printk.h:418:19: note: in definition of macro 'printk_index_wrap' > 418 | _p_func(_fmt, ##__VA_ARGS__); \ > | ^~~~~~~~~~~ > include/linux/printk.h:459:2: note: in expansion of macro 'printk' > 459 | printk(KERN_EMERG pr_fmt(fmt), ##__VA_ARGS__) > | ^~~~~~ > mm/debug.c:208:2: note: in expansion of macro 'pr_emerg' > 208 | pr_emerg("mm %px mmap %px seqnum %llu task_size %lu\n" > | ^~~~~~~~ > > Caused by commit > > 483f2bb374b7 ("coredump: Limit coredumps to a single thread group") > > I have used the userns tree from next-20211006 for today. Thanks for the catch. I removed mm->core_state and apparently mm->debug was printing it out for no apparent reason. I will add a patch to remove the debug information as well. Eric