• Mark Salyzyn's avatar
    pstore/pmsg: drop bounce buffer · 5bf6d1b9
    Mark Salyzyn authored
    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>
    5bf6d1b9
ram.c 19.9 KB