]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/mach/vm_param.h
xnu-7195.101.1.tar.gz
[apple/xnu.git] / osfmk / mach / vm_param.h
index 9a518a2bbe02a38ec61498213107416712588439..e87b5d1b76543d1c19ca9845023d7edb1474ab1c 100644 (file)
@@ -242,7 +242,7 @@ extern uint64_t         max_mem;                /* 64-bit size of memory - limit
  * When we need to allocate a chunk of anonymous memory over that size,
  * we have to allocate more than one chunk.
  */
-#define ANON_MAX_SIZE   0xFFFFF000ULL
+#define ANON_MAX_SIZE   ((1ULL << 32) - PAGE_SIZE)
 /*
  * Work-around for <rdar://problem/6626493>
  * Break large anonymous memory areas into 128MB chunks to alleviate