Skip to contentSkip to conversation

ALSA: Is CONFIG_SND_DEBUG_MEMORY really required?

DISCUSSION Adrian Bunk 2 participants 3 messages Jun 21, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

I was a bit surprised to discover that ALSA has it's own memory debugging infrastructure.

Is there a reason why CONFIG_DEBUG_SLAB isn't good enough for ALSA?

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#1 lore raw
Quoted 6 lines · Adrian Bunk

Hi,

I was a bit surprised to discover that ALSA has it's own memory debugging infrastructure.

Is there a reason why CONFIG_DEBUG_SLAB isn't good enough for ALSA?

We're ready to move to something other, but standard allocation routines should be extended to handle "allocation pools".

We're able to detect quickly memory leaks in our code.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

#2 lore raw
In reply to Adrian Bunk
Quoted 6 lines · Adrian Bunk

Hi,

I was a bit surprised to discover that ALSA has it's own memory debugging infrastructure.

Is there a reason why CONFIG_DEBUG_SLAB isn't good enough for ALSA?

We're ready to move to something other, but standard allocation routines should be extended to handle "allocation pools".

We're able to detect quickly memory leaks in our code.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs