tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Deadlock on fragmented memory?
On Thu, Oct 19, 2017 at 03:18:44PM +0000, Taylor R Campbell wrote:
> > Date: Thu, 19 Oct 2017 14:49:24 +0000
> > From: Taylor R Campbell <campbell+netbsd-tech-kern%mumble.net@localhost>
> >
> > Attached is a patch that attempts to restore the original behaviour of
> > carving out enough KVA on boot, by setting the exec_pool low-water
> > mark to be the same as the hard limit.
>
> On reflection, this patch has the downside of always reserving 4 MB of
> RAM up front, which the original exec_map approach did not. Attached
> is another patch that reintroduces exec_map (but in MI code, not a
> copy of it in all MD code) and pool-allocates from that, without a
> low-water mark. Compile-tested only so far.
I ran an anita test for Xen/amd64 and Xen/i386 with your patch and didn't
notice any bad effect. please commit !
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index