Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Matt Thomas <matt@netbsd.org>
List: source-changes
Date: 06/02/2005 17:01:44
Module Name: src
Committed By: matt
Date: Thu Jun 2 17:01:44 UTC 2005
Modified Files:
src/sys/compat/netbsd32: netbsd32_core.c
src/sys/kern: core_elf32.c core_netbsd.c
src/sys/uvm: uvm_extern.h uvm_glue.c uvm_map.c
Log Message:
When writing coredumps, don't write zero uninstantiated demand-zero pages.
Also, with ELF core dumps, trim trailing zeroes from sections. These two
changes can shrink coredumps by over 50% in size.
To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 src/sys/compat/netbsd32/netbsd32_core.c
cvs rdiff -r1.15 -r1.16 src/sys/kern/core_elf32.c
cvs rdiff -r1.9 -r1.10 src/sys/kern/core_netbsd.c
cvs rdiff -r1.101 -r1.102 src/sys/uvm/uvm_extern.h
cvs rdiff -r1.85 -r1.86 src/sys/uvm/uvm_glue.c
cvs rdiff -r1.199 -r1.200 src/sys/uvm/uvm_map.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.