[haiku-commits] r43183 - haiku/trunk/src/system/boot/loader/file_systems/tarfs

  • From: revol@xxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 4 Nov 2011 18:54:32 +0100 (CET)

Author: mmu_man
Date: 2011-11-04 18:54:31 +0100 (Fri, 04 Nov 2011)
New Revision: 43183
Changeset: https://dev.haiku-os.org/changeset/43183

Modified:
   haiku/trunk/src/system/boot/loader/file_systems/tarfs/tarfs.cpp
Log:
Further reduced the region allocated for the uncompressed data to 8 MB.
Wastes a bit less time allocating pages for nothing, and makes debugging
mmu support less verbose as well.
The (gunzipped) tar file is still less than 4MB and will never be 8MB
realistically anyway.


Modified: haiku/trunk/src/system/boot/loader/file_systems/tarfs/tarfs.cpp
===================================================================
--- haiku/trunk/src/system/boot/loader/file_systems/tarfs/tarfs.cpp     
2011-11-04 17:22:01 UTC (rev 43182)
+++ haiku/trunk/src/system/boot/loader/file_systems/tarfs/tarfs.cpp     
2011-11-04 17:54:31 UTC (rev 43183)
@@ -35,7 +35,7 @@
 
 static const uint32 kFloppyArchiveOffset = BOOT_ARCHIVE_IMAGE_OFFSET * 1024;
        // defined at build time, see build/jam/BuildSetup
-static const size_t kTarRegionSize = 16 * 1024 * 1024; // 16 MB
+static const size_t kTarRegionSize = 8 * 1024 * 1024;  // 8 MB
 
 namespace TarFS {
 


Other related posts:

  • » [haiku-commits] r43183 - haiku/trunk/src/system/boot/loader/file_systems/tarfs - revol