This patchset makes it possible to use kdb's ftdump command without panicing, crashing or livelocking. The ftdump command cannot be used at all without these changes.
IIRC this patches are still pending Jason's ack.
v3:
* Remove lines leading with --- from the patch comments, now it it -~- cut here -~- and "git am" did the right thing when I checked (Steven Rostedt)
v2:
* Fixed use-after-free problems in v1 by adding logic to NULL out buffer_iter during free operations.
* Introduced a second patch to fix a live lock when trying to display an empty trace buffer.
Daniel Thompson (2): trace: kdb: Fix kernel panic during ftdump trace: kdb: Fix kernel livelock with empty buffers
kernel/trace/trace_kdb.c | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-)
-- 1.9.3