diff options
author | Aleksandr Yashkin <[email protected]> | 2019-12-23 18:38:16 +0500 |
---|---|---|
committer | Kees Cook <[email protected]> | 2020-01-02 12:30:50 -0800 |
commit | 9e5f1c19800b808a37fb9815a26d382132c26c3d (patch) | |
tree | c6dd374696a6591278b2078c44c405000f0044d6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8df955a32a73315055e0cd187cbb1cea5820394b (diff) |
pstore/ram: Write new dumps to start of recycled zones
The ram_core.c routines treat przs as circular buffers. When writing a
new crash dump, the old buffer needs to be cleared so that the new dump
doesn't end up in the wrong place (i.e. at the end).
The solution to this problem is to reset the circular buffer state before
writing a new Oops dump.
Signed-off-by: Aleksandr Yashkin <[email protected]>
Signed-off-by: Nikolay Merinov <[email protected]>
Signed-off-by: Ariel Gilman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Fixes: 896fc1f0c4c6 ("pstore/ram: Switch to persistent_ram routines")
Cc: [email protected]
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions