summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorOlav Haugan <ohaugan@codeaurora.org>2014-10-24 08:52:18 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:12:22 -0700
commit81df3cf70bfc9bb1e1174ebc9ee68d1bb4bf9e82 (patch)
tree5d2177e698be646bec1a4b42db21ff609e7290da /include/linux
parentd722a1a4e907a4ad177d8e89d16384fe6ed24907 (diff)
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 'include/linux')
0 files changed, 0 insertions, 0 deletions