Subject: CVS commit: src/sys/lib/libsa
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 08/22/2003 21:33:53
Module Name:	src
Committed By:	dsl
Date:		Fri Aug 22 21:33:53 UTC 2003

Modified Files:
	src/sys/lib/libsa: ufs.c

Log Message:
Reduce memory footprint:
- use file buffer for all block reads
- only save a small amount of the indirect block list
Allows i386 bootxx_ufs code to load /boot from a filesystem with 32k blocks
while still fitting inside 64k of memory.
Code size reduced as well (by ~1k on i386).
It ought to be possible to use a buffer that is smaller than a filesystem
block.  This might be needed in order to boot from filesystems with larger
block sizes.


To generate a diff of this commit:
cvs rdiff -r1.39 -r1.40 src/sys/lib/libsa/ufs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.