• M
    pstore/pmsg: drop bounce buffer · 5bf6d1b9
    Mark Salyzyn 提交于
    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: NMark Salyzyn <salyzyn@android.com>
    Signed-off-by: NKees Cook <keescook@chromium.org>
    5bf6d1b9
ram_core.c 13.0 KB