lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 27 May 2015 11:55:39 +0200
From:	Takashi Iwai <tiwai@...e.de>
To:	Jie Yang <yang.jie@...el.com>
Cc:	broonie@...nel.org, alsa-devel@...a-project.org,
	linux-kernel@...r.kernel.org, liam.r.girdwood@...el.com,
	vivian.zhang@...el.com
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 <yang.jie@...el.com>
> ---
>  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.


Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ