From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751972AbbE0LMr (ORCPT ); Wed, 27 May 2015 07:12:47 -0400 Received: from mga01.intel.com ([192.55.52.88]:54908 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751322AbbE0LMo convert rfc822-to-8bit (ORCPT ); Wed, 27 May 2015 07:12:44 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,505,1427785200"; d="scan'208";a="700914984" From: "Jie, Yang" To: Takashi Iwai CC: "broonie@kernel.org" , "alsa-devel@alsa-project.org" , "linux-kernel@vger.kernel.org" , "Girdwood, Liam R" , "Zhang, Vivian" Subject: RE: [PATCH v3 1/2] ALSA: Kconfig: add config item SND_PROC_FS for expert Thread-Topic: [PATCH v3 1/2] ALSA: Kconfig: add config item SND_PROC_FS for expert Thread-Index: AQHQmFxuqmA+kmVJekKSpthJHCu9152PD72AgACa5qA= Date: Wed, 27 May 2015 11:10:53 +0000 Message-ID: References: <1432717818-4685-1-git-send-email-yang.jie@intel.com> <1432717818-4685-2-git-send-email-yang.jie@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Takashi Iwai [mailto:tiwai@suse.de] > Sent: Wednesday, May 27, 2015 5:56 PM > To: Jie, Yang > Cc: broonie@kernel.org; alsa-devel@alsa-project.org; linux- > kernel@vger.kernel.org; Girdwood, Liam R; Zhang, Vivian > Subject: Re: [PATCH v3 1/2] ALSA: Kconfig: add config item SND_PROC_FS for > expert > > At Wed, 27 May 2015 17:10:17 +0800, > Jie Yang wrote: > > > > For some embedded devices, we need reduce code size and data footprint > > as much as possible, e.g. disabling procfs, hw/sw params refinement, > > mmap, dpcm, dapm, compressed API... > > > > Here add SND_PROC_FS item for expert, we can unselect it to disable > > sound proc FS and reduce memory footprint. > > > > Signed-off-by: Jie Yang > > --- > > sound/core/Kconfig | 9 +++++++++ > > 1 file changed, 9 insertions(+) > > > > diff --git a/sound/core/Kconfig b/sound/core/Kconfig index > > 63cc2e9..4542554 100644 > > --- a/sound/core/Kconfig > > +++ b/sound/core/Kconfig > > @@ -225,4 +225,13 @@ config SND_DMA_SGBUF > > def_bool y > > depends on X86 > > > > +config SND_PROC_FS > > + bool "Sound Proc FS Support" if EXPERT > > + depends on PROC_FS > > + default y > > + help > > + Say 'N' to disable Sound proc FS, which may reduce code size about > > + 9KB on x86_64 platform. > > + If unsure say Y. > > + > > source "sound/core/seq/Kconfig" > > There is SND_VERBOSE_PROCFS that also depends on PROC_FS. > You should change it as well to depend on SND_PROC_FS. OK, will change it also. ~Keyon > > > Takashi