Received: by 10.192.165.148 with SMTP id m20csp314480imm; Tue, 24 Apr 2018 23:14:39 -0700 (PDT) X-Google-Smtp-Source: AIpwx48AWDw38dvJ7BCyu0t4AxynoPI1Zy69z+VLjs+nhSRT689XmEk4vaRw2uitdT+hACh4GXSj X-Received: by 10.101.77.67 with SMTP id j3mr23131551pgt.210.1524636879216; Tue, 24 Apr 2018 23:14:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524636879; cv=none; d=google.com; s=arc-20160816; b=QLw5zjDwptLcKDjx8c437EN8nx8iwwpenphcGgSZnFi+65N5EMl9LbztOL+b9ZPIGA kHIrqXr61YUWYJof9zb9FbrlR5BsTBadZOG/q40Rnd8sXGupJHOdmRU8VxbyQHbqxc6C crePWN+IQ7OqJ9/d8G18ZfMPBxdxYPohc+GEp7ySTIpAYqWCoEMdHD0dxMNaJ7/SoWIC yyK4TOzMLqfR/YiknFBE21jC5AtJcUZJluKkgCfYDlJAKRJX3Zvn2ky/cWo/dVnYwqlY LAFwOLPYWiHPpNXV02TPuiSyie0NJVz2fNGWwHL+7S9k7+NwYJDkUDaLyOKR3RCdlYk+ tWqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=wD3cjwOPj2wpj+CaxqZnFe02EAWxfzybn9qqqB1HTd8=; b=qj2vlXk7qmFoHKjS7YnMnqdUoV/VGvkG/wR5+GONoBlbCLoXhuHX6MekIroRb7cedI kgI19PLY2MOyYplwof01PsvlL0SfBtk+4OyDsl0HVR1vTUHZkrm+uGcazPAEIrwwwXIO 8GHZnpoOVWZF2pTNjVu1YANNBvwzvRWwKMm43ryrhYxZr0lEHMg/5w4SL8hSq7Iri7bi /oZa63Kijdexwot6nDOR/9BO6I98biZZRCEut7aLEFEA/Jjy/Ogt7BMHFh485qlms+Qo HwJDTU9Nf5QKj60b3ZqfekRRz7KloD/fCmBVt5r8sCJzZfhsmLrNRX5GfuOWfD/zUCHZ b93A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q21-v6si15902158pls.3.2018.04.24.23.14.24; Tue, 24 Apr 2018 23:14:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751320AbeDYGMm (ORCPT + 99 others); Wed, 25 Apr 2018 02:12:42 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:59936 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751093AbeDYGMl (ORCPT ); Wed, 25 Apr 2018 02:12:41 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 9E0CA2C; Wed, 25 Apr 2018 06:12:40 +0000 (UTC) Date: Wed, 25 Apr 2018 08:12:35 +0200 From: Greg KH To: Wei Wang Cc: Steven Rostedt , Wei Wang , Ingo Molnar , Andrew Morton , Kees Cook , Peter Zijlstra , Thomas Gleixner , Crt Mori , Alexei Starovoitov , Randy Dunlap , linux-kernel@vger.kernel.org Subject: Re: [PATCH] do not call trace_printk on non-debug build Message-ID: <20180425061235.GC595@kroah.com> References: <20180424180812.215900-1-wvw@google.com> <20180424145056.7c29ea18@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 24, 2018 at 07:02:34PM +0000, Wei Wang wrote: > We have seen many cases vendor have shipped kernel/drivers with it, and > have to clean up that every year. This was brought up in an internal > discussion and Greg suggested have some feedback from upstream about what > should be taken to prevent this globally besides fixing individual drivers. > From him "I think this change makes sense at a high level, but there could > be non-obvious reasons why this isn't the way things are handled right now." I said that? Heh, I normally say things like "fix all the stupid drivers", you must have caught me on a good day :) Anyway, the drivers should be fixed, if they are doing foolish things like this, the core kernel should not be "protecting them from themselves", that way lies madness, just talk to the Windows kernel developers about the hoops they jump through for this type of stuff... thanks, greg k-h