ALSA: Clear PCM buffers more properly
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ALSA: memalloc: Align buffer allocations in page sizesound/ | +1 | 1 reply | |
| 2/2 | ALSA: pcm: Clear the full allocated memory at hw_paramssound/ | +7 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Lars-Peter Clausen |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] ALSA: Clear PCM buffers more properly
Hi,
here are two small fix patches for PCM buffer allocations. Basically those address two things that have been discussed in the recent thread [1]:
* Clear the remaining bytes in PCM buffer pages that are exposed via mmap
* Assure the page aligned allocations for genalloc
This doesn't cover the cases where non-standard PCM buffer allocation is used. Those should handle the buffer clearance by themselves.
Takashi
[1] https://lore.kernel.org/r/[email protected]
===
Takashi Iwai (2):
ALSA: memalloc: Align buffer allocations in page size
ALSA: pcm: Clear the full allocated memory at hw_params
sound/core/memalloc.c | 1 + sound/core/pcm_native.c | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-)
Signature · 1 line
2.26.2