commit | f2531f1976d98a7a4328da7f3cbf31b7c1927738 | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Wed Mar 07 12:18:33 2018 -0800 |
committer | Kees Cook <keescook@chromium.org> | Wed Mar 07 12:47:06 2018 -0800 |
tree | fa32c230298182b5124ebb32ab2f2de287972d47 | |
parent | fe1d475888eecf1319458ee916e642e3e5e41c28 [diff] |
pstore/ram: Do not use stack VLA for parity workspace Instead of using a stack VLA for the parity workspace, preallocate a memory region. The preallocation is done to keep from needing to perform allocations during crash dump writing, etc. This also fixes a missed release of librs on free. Signed-off-by: Kees Cook <keescook@chromium.org>