summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/9/pc64/main.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/src/9/pc64/main.c b/sys/src/9/pc64/main.c
index 0464bad6b..31268638c 100644
--- a/sys/src/9/pc64/main.c
+++ b/sys/src/9/pc64/main.c
@@ -199,21 +199,6 @@ confinit(void)
if(userpcnt < 10)
userpcnt = 70;
kpages = conf.npage - (conf.npage*userpcnt)/100;
-
- /*
- * Hack for the big boys. Only good while physmem < 4GB.
- * Give the kernel fixed max + enough to allocate the
- * page pool.
- * This is an overestimate as conf.upages < conf.npages.
- * The patch of nimage is a band-aid, scanning the whole
- * page list in imagereclaim just takes too long.
- */
- if(getconf("*imagemaxmb") == 0)
- if(kpages > (64*MB + conf.npage*sizeof(Page))/BY2PG){
- kpages = (64*MB + conf.npage*sizeof(Page))/BY2PG;
- conf.nimage = 2000;
- kpages += (conf.nproc*KSTACK)/BY2PG;
- }
} else {
if(userpcnt < 10) {
if(conf.npage*BY2PG < 16*MB)