]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use a twiddle to show that we're busy dumping. The initial code
authormarcel <marcel@FreeBSD.org>
Wed, 3 Apr 2002 05:11:59 +0000 (05:11 +0000)
committermarcel <marcel@FreeBSD.org>
Wed, 3 Apr 2002 05:11:59 +0000 (05:11 +0000)
commit436b1d297cccd055217830e1047a70aa8eb9afc3
treed990e5e140d2f366052117dabdde7ce635791195
parent6625b0cb224168f956ef6665096f92f6c08c7a51
Use a twiddle to show that we're busy dumping. The initial code
emitted the total number of pages it still had to dump prior to
dumping a block of up to 16 pages. For a 128MB region this would
result in 8M number of printf()s. Barf!

The problem in general is that memory typically has one really
big region and a number of "scattered" smaller regions. Some may
even be just a few pages. The twiddle works best for now, but
it doesn't really give a good progress indication for the large
regions. Those are the cases where you definitely want good PI
to avoid having the user turn into a twiddle :-)
sys/ia64/ia64/dump_machdep.c
sys/ia64/ia64/ia64dump.c