[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-m68k/54254: Switch 68K to 8KB pages to increase available address space
>Synopsis: Switch 68K to 8KB pages to increase available address space
>Arrival-Date: Fri May 31 20:40:00 +0000 2019
>Originator: Chris Hanson
In trying to build python27 from pkgsrc-2018Q3, my HP 9000/433s with 128MB of RAM and 384MB of swap running netbsd-8 panicked due to address space exhaustion.
I discussed this on the port-hp300 list and Izumi Tsutsui said that there are restrictions in the 68K pmap code that are causing this, and a simple workaround is to increase the page size to 8KB by setting PGSHIFT to 13.
I set PGSHIFT to 13 and rebuilt the kernel and it works to build python27 and everything else I've tried, so I think this should be adopted until such time as the pmap code can be revised to cover larger address spaces.
Try to build python27 from pkgsrc-2018Q3 on hp300 running netbsd-8 with sufficient virtual memory; you will exhaust address space before the build completes.
Increase page size to 8KB by setting PGSHIFT to 13.
Main Index |
Thread Index |