Re: [PATCH v2 2/2] ALSA: set no sound proc fs for reduced memory footprint

From: Takashi Iwai
Date: Wed May 27 2015 - 02:18:39 EST


At Wed, 27 May 2015 05:38:01 +0000,
Jie, Yang wrote:
>
> > -----Original Message-----
> > From: Sudip Mukherjee [mailto:sudipm.mukherjee@xxxxxxxxx]
> > Sent: Wednesday, May 27, 2015 12:50 PM
> > To: Jie, Yang
> > Cc: tiwai@xxxxxxx; broonie@xxxxxxxxxx; alsa-devel@xxxxxxxxxxxxxxxx; linux-
> > kernel@xxxxxxxxxxxxxxx; Girdwood, Liam R; Zhang, Vivian
> > Subject: Re: [PATCH v2 2/2] ALSA: set no sound proc fs for reduced memory
> > footprint
> >
> > On Tue, May 26, 2015 at 09:13:57PM +0800, Jie Yang wrote:
> > > Disable sound proc fs, when CONFIG_SND_NO_PROC_FS is selected, which
> > > can save about 9KB memory size for reducing memory footprint purpose.
> > > ---
> > missing Signed-off-by.
>
> Thanks for pointing out.
>
> Signed-off-by: Jie Yang <yang.jie@xxxxxxxxx>
>
> Takashi, do I need to resend them?

Yes, but you seen to have missed my first comment. Here again:

================================================================
> +menuconfig SND_REDUCED_MEMORY_FOOTPRINT
> + bool "Reduced Memory Footprint Support"
> + default n
> + help
> + Say 'Y' to enable Reduced Memory Footprint Support, which may
> + reduce code size and data footprint as much as possible.

I'd like to move this into sound/core.
Also, the kconfig name appears a bit too lengthy to me.
================================================================

And, after reading this again, I wonder whether we just take the
existing CONFIG_EXPERT for allowing the selection of more knobs like
CONFIG_SND_PROC_FS.

SND_PROC_FS
bool "Sound proc file" if EXPERT
depends on PROC_FS
....


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