ALSA: pcm_core: Fix wake_up() optimization
authorJaroslav Kysela <perex@perex.cz>
Thu, 21 Jan 2010 09:32:15 +0000 (10:32 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 21 Jan 2010 09:32:15 +0000 (10:32 +0100)
commitc91a988dc6551c66418690e36b2a23cdb0255da8
treecbb408377b15488d4b45feb2f3d88a616f159814
parentd1db38c015a392b0ea8c15ab95abb3ee768b8d47
ALSA: pcm_core: Fix wake_up() optimization

This change fixes the "ALSA: pcm_lib - optimize wake_up() calls for PCM I/O"
commit. New sleeping queue is introduced to separate user space and kernel
space wake_ups. runtime->nowake is renamed to twake (transfer wake).

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
include/sound/pcm.h
sound/core/pcm.c
sound/core/pcm_lib.c
sound/core/pcm_native.c