Searched hist:f2531f1976d98a7a4328da7f3cbf31b7c1927738 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | pstore_ram.h | diff f2531f1976d98a7a4328da7f3cbf31b7c1927738 Wed Mar 07 14:18:33 CST 2018 Kees Cook <keescook@chromium.org> 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>
|
/openbmc/linux/fs/pstore/ |
H A D | ram_core.c | diff f2531f1976d98a7a4328da7f3cbf31b7c1927738 Wed Mar 07 14:18:33 CST 2018 Kees Cook <keescook@chromium.org> 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>
|