Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2669408ybt; Tue, 16 Jun 2020 11:51:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJygmmgKB2HBavnjJiGQOpXcx+qPfGhUxKgGRAmj8mTjlq+jbv8pn/Hf707niUlt7+MWo/ql X-Received: by 2002:a17:906:2893:: with SMTP id o19mr3763896ejd.231.1592333463103; Tue, 16 Jun 2020 11:51:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592333463; cv=none; d=google.com; s=arc-20160816; b=1EBe5YCblAEWCf9S78PgyEWqxBCe6C3dN9x0ZS5tyRsXJWVP/sGnRXQcxa+oLQrpZL 09lH7qKMM/26/S5a47V1Q4IH2Q//9AhLASfYhHBQgp1u3/y28qvwClkPv51ShTPgLr2b /zTkLkvgvfcZB9rbjITl11/8ohVAcgL5FzKgW1FgkYXsLObZs71dWs60sP6g+SY+g5JN ZFdwjhY6kTOzqhqM/4yJq2pXSPXf9/p7lwiU2kI8mssR941OkeE6+T/TymGWP06v7Dq8 ulxpvWdDyDIH2u38cQPSFvMbH9oK7A/ld0Eutg0yQmMLFCFpQ8qNioz0395r9bv5FZoV sbnA== 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; bh=HugrXx6fDSv10mMKHrHsU5HFQmmZUVKUaWxsB798KlQ=; b=bQZUwdGF+2HtQyDzrnvEEywfcwRN+eEippEUhDu1TaXxByj6RjPMr/2An4IMYSTmZD w9v8cXc45F3w0q3RwXUo4XmlEUQC7l6DmJg9JZdEuTEI4m1LmIF+n4jIoqc/fLRMa7nb XgyGEvBTtIWu7H9co7ef4i9uOjLpWMehy9phtRtN9L8Pjtx7yMG7XeZD2oa5edvz/RO4 8KRpiGKa/Wo9TpdlZGnBK7DC6DCVdG/FhWndjpgnzwT3wSzm3INpxb9xH3IYe0npuzXB pW0BEdZt+41g9a6WpDqSibwBh3265OyoJFarO6qzPBtqD//K5rnlDbyVC+54QKys2FU7 tGSA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q10si5426455ejp.503.2020.06.16.11.50.40; Tue, 16 Jun 2020 11:51:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730138AbgFPSsL (ORCPT + 99 others); Tue, 16 Jun 2020 14:48:11 -0400 Received: from foss.arm.com ([217.140.110.172]:44168 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729609AbgFPSsK (ORCPT ); Tue, 16 Jun 2020 14:48:10 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2196E1FB; Tue, 16 Jun 2020 11:48:10 -0700 (PDT) Received: from e107158-lin.cambridge.arm.com (e107158-lin.cambridge.arm.com [10.1.195.21]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3C4743F73C; Tue, 16 Jun 2020 11:48:09 -0700 (PDT) Date: Tue, 16 Jun 2020 19:48:06 +0100 From: Qais Yousef To: Manivannan Sadhasivam Cc: davem@davemloft.net, kuba@kernel.org, bjorn.andersson@linaro.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] net: qrtr: Migrate nameservice to kernel from userspace Message-ID: <20200616184805.k7eowfhdevasqite@e107158-lin.cambridge.arm.com> References: <20200213091427.13435-1-manivannan.sadhasivam@linaro.org> <20200213091427.13435-2-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200213091427.13435-2-manivannan.sadhasivam@linaro.org> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Manivannan, David On 02/13/20 14:44, Manivannan Sadhasivam wrote: [...] > + trace_printk("advertising new server [%d:%x]@[%d:%d]\n", > + srv->service, srv->instance, srv->node, srv->port); I can't tell exactly from the discussion whether this is the version that got merged into 5.7 or not, but it does match the commit message. This patch introduces several trace_printk() which AFAIK is intended for debugging only and shouldn't make it into mainline kernels. It causes this big message to be printed to the log too [ 0.000000] ********************************************************** [ 0.000000] ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE ** [ 0.000000] ** ** [ 0.000000] ** trace_printk() being used. Allocating extra memory. ** [ 0.000000] ** ** [ 0.000000] ** This means that this is a DEBUG kernel and it is ** [ 0.000000] ** unsafe for production use. ** [ 0.000000] ** ** [ 0.000000] ** If you see this message and you are not debugging ** [ 0.000000] ** the kernel, report this immediately to your vendor! ** [ 0.000000] ** ** [ 0.000000] ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE ** [ 0.000000] ********************************************************** Shouldn't this be replaced with one of pr_*() variants instead? Thanks -- Qais Yousef