tech-kern archive

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

Re: pool_cache_get behavior



> I talked with Andrew about this problem and he said that there is some sort
> of a lock in our uvm which if it is locked can make pool_cache_get return
> NULL even if there is enough memory available. My question is do someone has
> any idea where problem can be ?

You can get clue by doing:

- Buikd a kernel with
        - DDB
        - UVMHIST
        - KASSERT() to check if pool_cache_get() returns NULL
- Run the kernel, trigger the assertion failure
- Enter 'call uvm_hist' in ddb prompt

Masao

-- 
Masao Uebayashi / Tombi Inc. / Tel: +81-90-9141-4635


Home | Main Index | Thread Index | Old Index