mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jie, Yang" <yang.jie@intel.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com>,
	"broonie@kernel.org" <broonie@kernel.org>,
	"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"Girdwood, Liam R" <liam.r.girdwood@intel.com>,
	"Zhang, Vivian" <vivian.zhang@intel.com>
Subject: RE: [PATCH v2 2/2] ALSA: set no sound proc fs for reduced memory footprint
Date: Wed, 27 May 2015 07:09:24 +0000	[thread overview]
Message-ID: <E7B1D079BA13FB44A978CC8F69C7D6A90553AF54@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <s5hd21mee6g.wl-tiwai@suse.de>

> -----Original Message-----
> From: Takashi Iwai [mailto:tiwai@suse.de]
> Sent: Wednesday, May 27, 2015 2:19 PM
> To: Jie, Yang
> Cc: Sudip Mukherjee; broonie@kernel.org; alsa-devel@alsa-project.org;
> linux-kernel@vger.kernel.org; Girdwood, Liam R; Zhang, Vivian
> Subject: Re: [PATCH v2 2/2] ALSA: set no sound proc fs for reduced memory
> footprint
> 
> At Wed, 27 May 2015 05:38:01 +0000,
> Jie, Yang wrote:
> >
> > > -----Original Message-----
> > > From: Sudip Mukherjee [mailto:sudipm.mukherjee@gmail.com]
> > > Sent: Wednesday, May 27, 2015 12:50 PM
> > > To: Jie, Yang
> > > Cc: tiwai@suse.de; broonie@kernel.org; alsa-devel@alsa-project.org;
> > > linux- kernel@vger.kernel.org; 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@intel.com>
> >
> > Takashi, do I need to resend them?
> 
> Yes, but you seen to have missed my first comment.  Here again:
 
Sorry about the missing. :)

> 
> ==========================================================
> ======
> > +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
 
Sounds good. Then we don't need 'SND_REDUCED_MEMORY_FOOTPRINT'
any more? Or we can keep it as root menu of the set of items, just as below?
(I changed it to SND_SMALL_FOOTPRINT, as your comment above)

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

config SND_PROC_FS
        bool "Sound Proc FS Support" if SND_SMALL_FOOTPRINT
        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.

~Keyon

> 	depends on PROC_FS
> 	....
> 
> 
> Takashi

  reply	other threads:[~2015-05-27  7:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-26 13:13 [PATCH 0/2] reducing memory footprint of ALSA Jie Yang
2015-05-26 13:13 ` [PATCH v2 1/2] ALSA: Kconfig: add config menu for reduced memory footprint Jie Yang
2015-05-26 13:13 ` [PATCH v2 2/2] ALSA: set no sound proc fs " Jie Yang
2015-05-27  4:49   ` Sudip Mukherjee
2015-05-27  5:38     ` Jie, Yang
2015-05-27  6:18       ` Takashi Iwai
2015-05-27  7:09         ` Jie, Yang [this message]
2015-05-27  7:22           ` Takashi Iwai
2015-05-27  7:40             ` Jie, Yang
2015-05-27  7:46               ` Takashi Iwai
2015-05-27  8:35                 ` Jie, Yang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E7B1D079BA13FB44A978CC8F69C7D6A90553AF54@SHSMSX101.ccr.corp.intel.com \
    --to=yang.jie@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=liam.r.girdwood@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sudipm.mukherjee@gmail.com \
    --cc=tiwai@suse.de \
    --cc=vivian.zhang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®