diff options
author | Mark Salyzyn <salyzyn@google.com> | 2016-08-31 08:09:04 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2016-09-08 14:16:55 -0700 |
commit | a38338f1cd595f6a66870ba46cc6a4ae7378c084 (patch) | |
tree | 6c041969369776e17e07015d7c0be71e790bf984 /lib/mpi/mpicoder.c | |
parent | 92e04f8a13a8bb56a7544e56978663dc2e4f82cc (diff) |
FROMLIST: pstore: drop pmsg bounce buffer
(from https://lkml.org/lkml/2016/9/1/428)
(cherry pick from android-3.10 commit b58133100b38f2bf83cad2d7097417a3a196ed0b)
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: Mark Salyzyn <salyzyn@google.com>
Bug: 31057326
Change-Id: I4cdee1cd31467aa3e6c605bce2fbd4de5b0f8caa
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions