Subject: Re: uvm_km_alloc/free from interrupt in netbsd-3
To: Bill Studenmund <wrstuden@NetBSD.org>
From: Manuel Bouyer <firstname.lastname@example.org>
Date: 07/29/2006 23:42:32
On Sat, Jul 29, 2006 at 11:15:00PM +0200, Manuel Bouyer wrote:
> Also, I have code which does something similar in the xen3 block front-end
> (see xbd_map_align/xbd_unmap_align in arch/xen/xen/xbd_xenbus.c). Works
> fine in current, but it has also problems in netbsd-3, with similar panics.
> I suspect it's the same issue. The xen2 front-end uses uvm_km_kmemalloc1()
> for this, I'll have to try this instead.
Works much better with uvm_km_kmemalloc1(), I didn't get any panic yet.
I will convert the xen code too, and see if it helps.
Manuel Bouyer <email@example.com>
NetBSD: 26 ans d'experience feront toujours la difference