Port-amiga archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pmap vs. large Zorro III space
frank%phoenix.owl.de@localhost (Frank Wille) writes:
>On Fri, 22 Jul 2011 20:09:17 +0200
>Rados?aw Kujawa <radoslaw.kujawa%c0ff33.net@localhost> wrote:
>> Yesterday I've installed Matay Prometheus PCI, which allocates very large
>> Zorro III space (512MB).
>>
>> As soon as kernel was loaded, panic occured with "uvm_km_suballoc:
>> unable to allocate space in parent map" error.
>> [...]
>> probaby related to page tables map allocation and that I might want to
>> increase VM_KERNEL_PT_PAGES (defined in vmparam.h).
>Yes. I doubt that there is enough space for page tables to map the whole
>512MB area.
NetBSD 5.99.51 (DUMMY) #0: Sun May 1 13:43:56 CEST 2011
mlelstv@henery:/home/netbsd-current/obj.amiga/home/netbsd-current/src/sys/arch/amiga/compile/DUMMY
total memory = 2048 MB
avail memory = 2021 MB
memory segment 0 at 40000000 size 80000000
memory segment 1 at 00000000 size 00200000
Why does it not panic here?
# pmap 0
00000000 24824K read/write/exec [ stack ]
0183E000 8K read/write/exec [ stack ]
01840000 6616K read/write/exec [ stack ]
01EB6000 1184K read/write/exec [ stack ]
01FDE000 64K read/write/exec [ stack ]
01FEE000 132520K read/write/exec [ kmem_map ]
0A158000 16384K read/write/exec [ pager_map ]
0B158000 416K read/write/exec [ anon ]
0B1C0000 16384K read/write/exec [ phys_map ]
0C1C0000 4856K read/write/exec [ anon ]
0C67E000 8192K read/write/exec [ ubc_pager ]
0CE7E000 360K read/write/exec [ anon ]
0CED8000 16K read/write/exec [ uvm_aobj ]
0CEDC000 400K read/write/exec [ anon ]
0CF40000 256K read/write/exec [ uvm_aobj ]
0CF80000 32K read/write/exec [ anon ]
0CF90000 192K read/write/exec [ anon ]
10000000 303104K read/write/exec [ pt_map ]
total 515808K
# vmstat -s
8192 bytes per page
1 page color
259566 pages managed
257652 pages free
282 pages active
...
Greetings,
--
Michael van Elst
Internet: mlelstv%serpens.de@localhost
"A potential Snark may lurk in every tree."
--
--
Michael van Elst
Internet: mlelstv%serpens.de@localhost
"A potential Snark may lurk in every tree."
Home |
Main Index |
Thread Index |
Old Index