NetBSD-Bugs archive

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

Re: kern/55327: !cpu_intr_p() assertion failure in DDB



On 2020/05/31 22:25, rokuyama.rk%gmail.com@localhost wrote:
Recently, I've hacked db_alloc() and friends to use kmem_intr_alloc(9),
instead of malloc(9).

For buffers in DDB session, I've stopped using dynamically allocated
buffers and switched to static buffers in BSS. db_alloc(sz) is now
kmem_alloc(sz, KM_SLEEP), and used only for permanent data storage
when initializing DDB.

Still, DDB kill command at least is broken.


Home | Main Index | Thread Index | Old Index