diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2017-03-05 00:55:02 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2017-03-05 00:55:02 +0000 |
commit | 5fd91751cffca7923663e498b8314b86732635e0 (patch) | |
tree | 598c4b6b58c2158f68a519ed9ae4e9835fdb1af1 /sys/uvm/uvm_stat.c | |
parent | f46e226ea387f6570231c4ef8bbcc71c6c54231c (diff) |
Handle unshared amaps in uvm_coredump_walkmap() such that untouched pages
don't get written out to the core file but rather are represented via
segments which have memory size greater than their file size. This shrinks
core files and eliminates a case where core dumping fails with EFAULT.
This can still happen in the shared amap case.
Based on a problem report from (and testing by) semarie@
ok stefan@
Diffstat (limited to 'sys/uvm/uvm_stat.c')
0 files changed, 0 insertions, 0 deletions