[PATCH 3.18-rc3 v3 0/2] trace: kdb: Bug fixes for ftdump

From: Daniel Thompson
Date: Fri Nov 14 2014 - 06:22:01 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/