Hi, Here is the 11th version of improvement patches for making persistent ring buffers robust to failures. The previous version is here:
https://lore.kernel.org/linux-trace-kernel/177374017536.2358053.12341235939816794384.st...@mhiramat.tok.corp.google.com/ In this version, I updated [2/5] to do nothing by default since flush_cache_vmap() does nothing on x86 but it can cause deadlock on some architectures via on_each_cpu(), because other CPUs will be stoppped when panic notifier is called. Also update typo in [3/5], and fix to reset timestamp when invalid whole ring buffer and skip pages which has invalid "timestamp" instead of invalidating all ring buffers. Thank you, --- Masami Hiramatsu (Google) (5): ring-buffer: Fix to update per-subbuf entries of persistent ring buffer ring-buffer: Flush and stop persistent ring buffer on panic ring-buffer: Skip invalid sub-buffers when validating persistent ring buffer ring-buffer: Skip invalid sub-buffers when rewinding persistent ring buffer ring-buffer: Add persistent ring buffer selftest 0 files changed -- Masami Hiramatsu (Google) <[email protected]>
