RE: [Patch 1/4][kernel][slimdump] Add new elf-note of typeNT_NOCOREDUMP to capture slimdump

From: Luck, Tony
Date: Mon Oct 03 2011 - 18:53:27 EST


> It totally doesn't make sense to do this in the kernel when we can
> filter this from userspace just fine.

Patch 1 is the kernel part that provides the clue for user space
tools to do this filtering. The other three parts are patches to
tools that see the hint and act on it.

Eric: Do you see a better way for the kernel that just crashed from
a machine check to communicate the reason for the crash to the
successor kernel? The Elf-note in vmcore needs quite a bit of
code to set up - but is otherwise fairly succinct. We don't want
the successor kernel to have to poke through too much memory from
the crashed kernel to figure this out - the more we look at, the
higher the probability that we step on the landmine that crashed
the original kernel.

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