cvs commit: src/sys/amd64/amd64 pmap.c
Hidetoshi Shimokawa
simokawa at sat.t.u-tokyo.ac.jp
Fri Jun 20 00:35:31 PDT 2003
At Fri, 20 Jun 2003 14:04:53 +0900,
Hidetoshi Shimokawa wrote:
>
> At Thu, 19 Jun 2003 21:41:41 -0700,
> Peter Wemm wrote:
> >
> > Hidetoshi Shimokawa wrote:
> > > At Thu, 19 Jun 2003 12:02:04 -0700,
> > > Peter Wemm wrote:
> > > > > Modified files:
> > > > > sys/amd64/amd64 pmap.c
> > > > > Log:
> > > > > Fix direct map page table for 2GB+ physical memory.
> > > >
> > > > Thank you! :-)
> > > >
> > > > Cheers,
> > > > -Peter
> > >
> > > Do you have any plan to increase KVA up to 512GB?
> > > struct vm_page consumes 250MB space for 8GB memory.
> >
> > Yes, once I return from my trip, which should be next week. It shouldn't
> > be too hard, it probably is a relatively simple matter of increasing the
> > slots reserved for growing KVM, and teaching pmap_growkernel how to grow
> > downwards.... OK, maybe thats easier said than done. :-)
>
> I though there are something other than that to change KERNBASE.
> I understand what we should do.
I made patch for that,
http://www.sat.t.u-tokyo.ac.jp/~simokawa/amd64/kva.patch.txt
(include /dev/kmem fix for direct map and debug code)
I failed to link kernel for 2GB+ KVA space (set KPDPI to (NPDPEPG-4)).
Linker produces the following errors:
locore.o: In function `btext':
/usr/obj/amd64/export/home/src/sys/FireWire/{standard input}:53: relocation truncated to fit: R_X86_64_32S .bss
cam.o: In function `cam_fetch_status_entry':/export/home/src/sys/cam/cam.c:187:relocation truncated to fit: R_X86_64_32S .text
.....
Do you have any idea?
/\ Hidetoshi Shimokawa
\/ simokawa at sat.t.u-tokyo.ac.jp
PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html
More information about the cvs-src
mailing list