diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-07-17 23:12:33 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-07-18 07:47:57 +0200 |
commit | ef4db239cda2d74f53120e223643b0f5bbf947c1 (patch) | |
tree | e1c2a5dd6dc2f7b6433f9785dcd57905817ee735 /block/blk-mq-sched.c | |
parent | f5beb598b0c4dd023833ae1a7c188ecd987b7125 (diff) | |
download | linux-ef4db239cda2d74f53120e223643b0f5bbf947c1.tar.gz linux-ef4db239cda2d74f53120e223643b0f5bbf947c1.tar.bz2 linux-ef4db239cda2d74f53120e223643b0f5bbf947c1.zip |
ALSA: rawmidi: Use kvmalloc() for buffers
The size of in-kernel rawmidi buffers may be big up to 1MB, and it can
be specified freely by user-space; which implies that user-space may
trigger kmalloc() errors frequently.
This patch replaces the buffer allocation via kvmalloc() for dealing
with bigger buffers gracefully.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'block/blk-mq-sched.c')
0 files changed, 0 insertions, 0 deletions