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

From: Daniel Thompson
Date: Thu Nov 06 2014 - 07:42:22 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.

Changes since v1:

* 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/