Skip to content
Commit 5bf6d1b9 authored by Mark Salyzyn's avatar Mark Salyzyn Committed by Kees Cook
Browse files

pstore/pmsg: drop bounce buffer



Removing a bounce buffer copy operation in the pmsg driver path is
always better. We also gain in overall performance by not requesting
a vmalloc on every write as this can cause precious RT tasks, such
as user facing media operation, to stall while memory is being
reclaimed. Added a write_buf_user to the pstore functions, a backup
platform write_buf_user that uses the small buffer that is part of
the instance, and implemented a ramoops write_buf_user that only
supports PSTORE_TYPE_PMSG.

Signed-off-by: default avatarMark Salyzyn <salyzyn@android.com>
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent 79d955af
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment