Port-evbmips archive

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

kmem_alloc vs malloc



All,

Need some help on understanding below issue.

When driver A invokes kmem_alloc, see panic due to TLB miss in driver B.
This issue happens during kernel bootup. At this time, show map output
shows, resident memory = wired memory.

When the kmem_alloc in driver A is replaced by malloc, don't see any issue
with driver B.

kmem_alloc allocates wired memory. malloc allocates uninitialized memory in
kernel address space.

How does the issue go away replacing kmem_alloc with malloc ? Is it related?

Thanks & Regards,
Rajasekhar



Home | Main Index | Thread Index | Old Index