aboutsummaryrefslogtreecommitdiffstats
path: root/sound/sound_core.c
diff options
context:
space:
mode:
authorOlav Haugan <ohaugan@codeaurora.org>2013-10-31 17:53:41 -0700
committerSimon Shields <keepcalm444@gmail.com>2016-06-12 21:19:47 +1000
commitb8a2bd16924eebba1f5cf10a54c20eac981fa3cd (patch)
treee9f222ec4485bf704dc48632e5772ccf78505f16 /sound/sound_core.c
parentc32d11d7bfc35f379da6983537bc221c27bd7b26 (diff)
downloadkernel_samsung_smdk4412-b8a2bd16924eebba1f5cf10a54c20eac981fa3cd.tar.gz
kernel_samsung_smdk4412-b8a2bd16924eebba1f5cf10a54c20eac981fa3cd.tar.bz2
kernel_samsung_smdk4412-b8a2bd16924eebba1f5cf10a54c20eac981fa3cd.zip
staging: zram: Rate limit memory allocation errors
If an error occurs allocating memory for zram we will not be able to fullfill the request to store the page in zram. The swap subsystem still continues to try to swap out pages to zram even when this error occurs since there is currently no facility to stop the swap subsystem from swapping out during such errors. This can cause the system to be overflowed with logging errors. Reduce the amount of logging to prevent the kernel log from being filled with these error messages. Change-Id: I54b920337749ece59d9ca78fa8b29345ec7b976b Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
Diffstat (limited to 'sound/sound_core.c')
0 files changed, 0 insertions, 0 deletions