Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965045AbbFJQT1 (ORCPT ); Wed, 10 Jun 2015 12:19:27 -0400 Received: from smtprelay0112.hostedemail.com ([216.40.44.112]:53376 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752532AbbFJQTT (ORCPT ); Wed, 10 Jun 2015 12:19:19 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 50,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::,RULES_HIT:41:355:379:541:599:967:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1538:1593:1594:1711:1714:1730:1747:1777:1792:2198:2199:2393:2525:2560:2563:2682:2685:2828:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3350:3622:3865:3866:3868:3870:3871:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4321:5007:6261:7904:9025:10004:10400:10848:11232:11658:11914:12043:12517:12519:12679:12740:13019:13069:13161:13229:13311:13357:13845:21080,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0 X-HE-Tag: run93_16d71db23184b X-Filterd-Recvd-Size: 1539 Message-ID: <1433953156.32331.4.camel@perches.com> Subject: Re: [RFC][PATCH] printk: Fixup the nmi printk mess From: Joe Perches To: Steven Rostedt Cc: Peter Zijlstra , linux-kernel@vger.kernel.org, jkosina@suse.cz, paulmck@linux.vnet.ibm.com, pmladek@suse.cz, Ingo Molnar , Thomas Gleixner Date: Wed, 10 Jun 2015 09:19:16 -0700 In-Reply-To: <20150610120242.1e33c752@gandalf.local.home> References: <20150610125509.GO19282@twins.programming.kicks-ass.net> <20150610120242.1e33c752@gandalf.local.home> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.12.11-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 778 Lines: 28 On Wed, 2015-06-10 at 12:02 -0400, Steven Rostedt wrote: > BTW, the printk.c file is getting rather big. No joke that. > Can we make a > kernel/printk/nmi.c file that does this work. We can add a local > printk_common.h that can share the global data structures, and this > would move most of the #ifdef out of the C files. Yes please. There are many things in printk that could be moved into separate files. The last time I tried this was before Kay's structured printk logging stuff: https://lkml.org/lkml/2012/10/24/748 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/