Re: [PATCH 2/2 v2] core dump: add VM_NODUMP, MADV_NODUMP, MADV_CLEAR_NODUMP

From: Roland McGrath
Date: Thu Mar 08 2012 - 16:44:15 EST


I'm vaguely dubious about the desireability of using this new feature.
(I would hate to try to debug a qemu bug from a dump where half the
interesting state was intentionally hidden from me.) But I don't see
any problem with the implementation.

As to the interface, I think the bits are OK but it would be more
in keeping with the existing MADV_* names to call the new values
MADV_DONTDUMP and MADV_DODUMP.


Thanks,
Roland
--
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/