Skip to content

ALSA: More abstracition of memory alloc helpers

Takashi Iwai alsa-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ALSA: trident: Drop shadow TLB pointer tablesound/pci/trident/trident.h sound/pci/trident/trident_main.c sound/pci/trident/trident_memory.c+17 -480 replies
2/5ALSA: core: Drop snd_sgbuf_get_ptr()include/sound/memalloc.h include/sound/pcm.h+0 -300 replies
3/5ALSA: core: Abstract memory alloc helpersinclude/sound/memalloc.h include/sound/pcm.h sound/core/memalloc.c +5 more+328 -2860 replies
4/5ALSA: core: Move mmap handler into memalloc opsinclude/sound/memalloc.h sound/core/memalloc.c sound/core/memalloc_local.h +1 more+43 -160 replies
5/5ALSA: core: Add continuous and vmalloc mmap opssound/core/memalloc.c+17 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] ALSA: More abstracition of memory alloc helpers

Hi,

this is a patch set for the code cleanup and refactoring around the ALSA core memory allocation helpers. It begins with a cleanup of the non-used code, then followed by the refacotoring with the new ops, finally moved the memory-specific mmap handling code from PCM to the core memalloc.

Takashi

===

Takashi Iwai (5):
ALSA: trident: Drop shadow TLB pointer table
ALSA: core: Drop snd_sgbuf_get_ptr()
ALSA: core: Abstract memory alloc helpers
ALSA: core: Move mmap handler into memalloc ops
ALSA: core: Add continuous and vmalloc mmap ops

 include/sound/memalloc.h           |  83 +-----
 include/sound/pcm.h                |  19 --
 sound/core/memalloc.c              | 444 +++++++++++++++++++----------
 sound/core/memalloc_local.h        |  19 ++
 sound/core/pcm_local.h             |   5 -
 sound/core/pcm_memory.c            |  21 --
 sound/core/pcm_native.c            |  39 +--
 sound/core/sgbuf.c                 |  90 ++++--
 sound/pci/trident/trident.h        |   1 -
 sound/pci/trident/trident_main.c   |  11 +-
 sound/pci/trident/trident_memory.c |  53 ++--
 11 files changed, 405 insertions(+), 380 deletions(-)
 create mode 100644 sound/core/memalloc_local.h
Signature · 1 line
2.26.2