Date: Thu, 19 May 2005 07:21:46 +0000 (UTC) From: Peter Grehan <grehan@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/ofw/libofw ofw_copy.c Message-ID: <200505190721.j4J7LlDr006095@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
grehan 2005-05-19 07:21:46 UTC FreeBSD src repository Modified files: sys/boot/ofw/libofw ofw_copy.c Log: 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505190721.j4J7LlDr006095>