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 5B614C433F5 for ; Mon, 15 Nov 2021 09:48:08 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D224C61BA9 for ; Mon, 15 Nov 2021 09:48:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D224C61BA9 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 4FEEE6B007D; Mon, 15 Nov 2021 04:48:07 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 4AE476B007E; Mon, 15 Nov 2021 04:48:07 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 39CC16B0080; Mon, 15 Nov 2021 04:48:07 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0202.hostedemail.com [216.40.44.202]) by kanga.kvack.org (Postfix) with ESMTP id 2ADC46B007D for ; Mon, 15 Nov 2021 04:48:07 -0500 (EST) Received: from smtpin10.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id D2B6218103F36 for ; Mon, 15 Nov 2021 09:48:06 +0000 (UTC) X-FDA: 78810688614.10.28F053A Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by imf17.hostedemail.com (Postfix) with ESMTP id 5F0D0F00039B for ; Mon, 15 Nov 2021 09:48:06 +0000 (UTC) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 029891FD65; Mon, 15 Nov 2021 09:48:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1636969685; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hMLEhCAr/EzWlOcWmhx1Hln3rb0NJGrBCvMunwDh9E4=; b=TW1DFmMn7jfxRJ94KzmV/14bVkJYGXDBnUmRSzKAm+kPugntIh1mwX8+cpmGQZrMhrARS/ EpNdTgHfPb9BMxbTpX2pfV+WMU5dqH/Mw9waZjg3LXDb+R6r5MdCLyZA/WUZwp+2sI9MgY 98B901w/rpbFg8RgwZmJrgKjL8dWlFE= Received: from suse.cz (unknown [10.100.216.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 8D42EA3BA2; Mon, 15 Nov 2021 09:48:04 +0000 (UTC) Date: Mon, 15 Nov 2021 10:48:04 +0100 From: Petr Mladek To: Dennis Zhou Cc: Andy Shevchenko , Andrew Morton , Kees Cook , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Tejun Heo , Christoph Lameter , Steven Rostedt Subject: Re: [PATCH v1 1/1] printk: Remove printk.h inclusion in percpu.h Message-ID: References: <20211112140749.80042-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 5F0D0F00039B X-Stat-Signature: gwimdqfx19cqr3joyny4dqqwf4tjkqq1 Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=suse.com header.s=susede1 header.b=TW1DFmMn; dmarc=pass (policy=quarantine) header.from=suse.com; spf=pass (imf17.hostedemail.com: domain of pmladek@suse.com designates 195.135.220.29 as permitted sender) smtp.mailfrom=pmladek@suse.com X-HE-Tag: 1636969686-270905 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 Fri 2021-11-12 13:15:51, Dennis Zhou wrote: > On Fri, Nov 12, 2021 at 04:07:49PM +0200, Andy Shevchenko wrote: > > After the commit 42a0bb3f7138 ("printk/nmi: generic solution for safe printk > > in NMI") the printk.h is not needed anymore in percpu.h. > > > > Moreover `make headerdep` complains (an excerpt) > > > > In file included from linux/printk.h, > > from linux/dynamic_debug.h:188 > > from linux/printk.h:559 <-- here > > from linux/percpu.h:9 > > from linux/idr.h:17 > > include/net/9p/client.h:13: warning: recursive header inclusion > > > > Yeah, it's not a root cause of this, but removing will help to reduce > > the noise. > > > > Fixes: 42a0bb3f7138 ("printk/nmi: generic solution for safe printk > > in NMI") Yup, the include was there because of printk_func_t definition that was removed by the above commit. Reviewed-by: Petr Mladek > Hey Andrew, it doesn't seem like I have anything big coming through > percpu, do you mind taking this. I might have some stuff due to sh, but > I'm still working on that with them. I assume that either Andrew or Dennis will take this patch. Best Regards, Petr