plan9fox/sys
cinap_lenrek c9f91d5015 pc64: allocate palloc.pages from upages
the palloc.pages array takes arround 5% of the upages which
gives us:

16GB = ~0.8GB
32GB = ~1.6GB
64GB = ~3.2GB

we only have 2GB of address space above KZERO so this will not
work for long.

instead, pageinit() was altered to accept a preallocated memory
in palloc.pages. and preallocpages() in pc64/main.c allocates the
in upages memory, mapping it in the VMAP area (which has 512GB).

the drawback is that we cannot poke at Page structures now from
/proc/n/mem as the VMAP area is not accessible from it.
2014-06-01 03:13:58 +02:00
..
doc /sys/doc: permissions for cleanps, mkdirlist, mkfilelist 2012-10-20 19:09:54 +02:00
games/lib fortunes: 14:37 -!- kfx was kicked from #suckless by __20h__ [kfx] 2014-05-16 16:31:41 -04:00
include thread.h: varargck argpos for threadsetname 2014-05-03 12:09:53 +02:00
lib add _nsec() syscall 53 for binary compatibility with labs distribution 2014-05-20 05:06:31 +02:00
man we look for strings.c, it is broken, this strings.c will make us go. 2014-05-30 04:05:18 +02:00
src pc64: allocate palloc.pages from upages 2014-06-01 03:13:58 +02:00