Skip to content

reducing memory footprint of ALSA

Jie Yang alsa-devel lkml 3 versions – Applied

Status from this message: Applied both patches. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest posting 2/22 patches 4 repliesApplied
  2. v3 posting 1/22 patches 2 repliesSuperseded
  3. v10 of 2 patches 0 repliesSuperseded

Changes in v3 from the cover letter

1. drop SND_REDUCED_MEMORY_FOOTPRINT and make configuration available only for EXPERT;
2. move the configure into sound/core/Kconfig;
3. Add missing Signed-off-by for PATCH 2/2.

Patches in v3 posting 2/2 Applied

#Subject and filesSizeRepliesApplied
1/2ALSA: Kconfig: add config item SND_PROC_FS for expertsound/core/Kconfig+10 -11 reply
2/2ALSA: replace CONFIG_PROC_FS with CONFIG_SND_PROC_FSinclude/sound/info.h sound/core/Makefile sound/core/hwdep.c +21 more+52 -522 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchMark Brown
1/2R-b
2/2Reviwed-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH RESEND v3 0/2] reducing memory footprint of ALSA

We are planning to work on reducing memory footprint of ALSA, targeting on small memory embedded devices(e.g. IoT), this series focuses on disabling procfs, hw/sw params refinement, mmap, dpcm, dapm, compressed API, compat code APIs...

We plan to enable those reducing items only for EXPERT, and add knobs in sound/core/Kconfig.

These first two patches is a start, adding SND_PROC_FS to config disable/enable ALSA proc FS, this disabling can save about 9KB code size on x86_64 platform.

Changes in v3:
1. drop SND_REDUCED_MEMORY_FOOTPRINT and make configuration available only for EXPERT;
2. move the configure into sound/core/Kconfig;
3. Add missing Signed-off-by for PATCH 2/2.

Changes in v2:
1. Prompt "Sound Proc FS Support" appears only when SND_REDUCED_MEMORY_FOOTPRINT is true.

Jie Yang (2):
ALSA: Kconfig: add config item SND_PROC_FS for expert
ALSA: replace CONFIG_PROC_FS with CONFIG_SND_PROC_FS

 include/sound/info.h               |  8 ++++----
 sound/core/Kconfig                 | 11 ++++++++++-
 sound/core/Makefile                |  2 +-
 sound/core/hwdep.c                 |  6 +++---
 sound/core/init.c                  |  8 ++++----
 sound/core/oss/mixer_oss.c         |  6 +++---
 sound/core/pcm.c                   |  6 +++---
 sound/core/seq/oss/seq_oss.c       |  6 +++---
 sound/core/seq/oss/seq_oss_init.c  |  5 ++---
 sound/core/seq/oss/seq_oss_midi.c  |  4 ++--
 sound/core/seq/oss/seq_oss_readq.c |  4 ++--
 sound/core/seq/oss/seq_oss_synth.c |  4 ++--
 sound/core/seq/seq_clientmgr.c     |  4 ++--
 sound/core/seq/seq_device.c        |  2 +-
 sound/core/seq/seq_info.h          |  2 +-
 sound/core/seq/seq_queue.c         |  4 ++--
 sound/core/seq/seq_timer.c         |  4 ++--
 sound/core/sound.c                 |  4 ++--
 sound/core/sound_oss.c             |  4 ++--
 sound/core/timer.c                 |  4 ++--
 sound/pci/hda/Makefile             |  3 ++-
 sound/pci/hda/hda_eld.c            |  4 ++--
 sound/pci/hda/hda_local.h          |  4 ++--
 sound/pci/hda/patch_hdmi.c         |  4 ++--
 sound/pci/hda/patch_sigmatel.c     |  2 +-
 25 files changed, 62 insertions(+), 53 deletions(-)
Signature · 1 line
1.9.1