cvs commit: src/sys/boot/ofw/libofw ofw_copy.c
grehan at FreeBSD.org
Thu May 19 07:21:48 GMT 2005
grehan 2005-05-19 07:21:46 UTC
FreeBSD src repository
Change ofw_readin/ofw_copyin to map the entire region before
copying, rather than a page at a time. This was creating far
too many single-page mappings, and eventually OFW overflowed
some internal data structure and refused to map any more.
The new algorithm creates far less mappings and fixed a bug
where multiple mappings for the same page would be created.
'Twas known this was a problem, but only became urgent when the
install CD's mfs_root grew large enough to cause the overflow.
Revision Changes Path
1.15 +74 -24 src/sys/boot/ofw/libofw/ofw_copy.c
More information about the cvs-src