tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ia64 and emap


KIYOHARA Takashi <> wrote:
> panic: kernel diagnostic assertion "IA64_RR_MASK(va) < (nkpt * PAGE_SIZE *
> NKPTEPG)" failed: file "../../../../arch/ia64/ia64/pmap.c", line 1714
> Broken into debugger
> <...>
> Stopped in pid 0.1 (system) at  netbsd:cpu_Debugger+0x21:       [I1]
> nop.i 0x

Do you have a backtrace?

> The emap demands quite a lot of memories.  Therefore, more nkpt is
> necessary for us.  Do we have the processes to know size of emap
> (uvm_emap_size)?

It looks that you are running out of KVA. Is that right? Perhaps
decreasing the following in uvm_emap.c would help:

#ifdef _LP64
#define UVM_EMAP_SIZE           (128 * 1024 * 1024)     /* 128 MB */

But if so, why is it too high? How much of KVA space IA64 allocates?

> For instance, is uvm_emap_size made global?
>   -static u_int                   uvm_emap_size = UVM_EMAP_SIZE;
>   +u_int                   uvm_emap_size = UVM_EMAP_SIZE;

Why do you want to make it global?

P.S. Please send such emails to tech-kern, it's more kernel focused. :)


Home | Main Index | Thread Index | Old Index