Re: [linux-audio-dev] Re: [announce] [patch] Voluntary Kernel Preemption Patch

Takashi Iwai
2004-07-16T12:49:30Z

At Thu, 15 Jul 2004 21:50:29 -0700,
Florin Andrei wrote:
>
> On Sat, 2004-07-10 at 22:25, Andrew Morton wrote:
>
> > What we need to do is to encourage audio testers to use ALSA drivers, to
> > enable CONFIG_SND_DEBUG in the kernel build and to set
> > /proc/asound/*/*/xrun_debug and to send us the traces which result from
> > underruns.
>
> Just out of curiosity:
> If i enable CONFIG_SND_DEBUG when compiling the kernel, but do not set
> /proc/*/xrun_debug, will that kernel be slower than without
> CONFIG_SND_DEBUG turned on?

XRUN is checked regardless with or without CONFIG_SND_DEBUG, so there
is no difference in the performance. It will just print out messages
at each XRUN.

With debug option, some debug checks will be compiled in, but the
impact to perfomance must be ignorable.

Takashi