summaryrefslogtreecommitdiffstats
path: root/sound/core/pcm_lib.c
diff options
context:
space:
mode:
authorTakashi Sakamoto2017-05-17 01:48:19 +0200
committerTakashi Iwai2017-05-17 07:25:01 +0200
commite76bf3c4b4e456fa8f2c729fa1e8c644857529a8 (patch)
tree6d9252579928b84f65556478fe7701ed6cfa707e /sound/core/pcm_lib.c
parentALSA: pcm: use helper function to refer parameter as read-only (diff)
downloadkernel-qcow2-linux-e76bf3c4b4e456fa8f2c729fa1e8c644857529a8.tar.gz
kernel-qcow2-linux-e76bf3c4b4e456fa8f2c729fa1e8c644857529a8.tar.xz
kernel-qcow2-linux-e76bf3c4b4e456fa8f2c729fa1e8c644857529a8.zip
ALSA: pcm/oss: refer to parameters instead of copying to reduce usage of kernel stack
Some functions in compatibility layer for Open Sound System interface has local variable to copy some parameters in runtime of PCM substream, while this can be replaced with reference of pointers to parameter itself. This brings an advantage to reduce usage of kernel stack. This commit applies this idea. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/pcm_lib.c')
0 files changed, 0 insertions, 0 deletions