On Thu, Jan 05, 2012 at 07:57:55PM +0100, Juan Francisco Cantero Hurtado wrote:
> On Fri, 30 Dec 2011 17:55:27 +0100, Ariane van der Steldt  
> <ari...@stack.nl> wrote:
> 
> > On Fri, Dec 30, 2011 at 03:04:30PM +0100, Ariane van der Steldt wrote:
> >> On Fri, Dec 30, 2011 at 02:42:18PM +0100, Ariane van der Steldt wrote:
> >> > The huge diff included below is to replace vmmap for something that
> >> > works a lot better. This is the second version I plan to commit.
> >> > I have been running this on my laptop for months and have had no
> >> > problems.
> >> >
> >> > The current incarnation is:
> >> >   vmmap_sys.diff.63
> >
> > Which never made it to the list apparently. I'll just blame spam
> > filtering and provide it an alternative way:
> >   http://www.stack.nl/~ariane/vmmap_sys.diff.63
> >
> > SHA256 (vmmap_sys.diff.63) =  
> > 5c3e71360795f3899baa652f6ba6caa999b137b01a778dca12c253af1dbcff00
> > MD5 (vmmap_sys.diff.63) = 11736a0bacb0b8b72079935ba01c62c4
> > size: 305720 bytes
> >
> >
> > Highlights:
> > - the mapping and allocation (address selection) logic is split
> > - the allocator is in compatibility mode, meaning it ought to perform
> >   the same strategies (and hence contain the same bugs, yay) as the
> >   version that you are running in your kernel at the moment
> >   (this means java and various browsers won't die horribly, at least not
> >   more than they used to)
> > - despite using the same algorithm, it is a bit^W alot faster
> > - it's only a 3^W 10494 line diff :P
> >
> > I'll need testing on any and all architectures.
> >
> > Thanks,
> 
> Hi, I've tried both patches on i386. The system crashed.

Thanks, this is very helpful.

> The code in src is a clean checkout from 3 January. I applied the patches  
> in src and src/sys without errors.
> 
> I compiled the kernel and userland with this steps:
> export PARALLEL_BUILD=YES
> export MAKE_JOBS=2
> cd /usr/src/sys/arch/i386/conf
> config GENERIC.MP
> cd ../compile/GENERIC.MP
> make clean
> make
> make install
> rm -rf /usr/obj/*
> cd /usr/src
> make obj
> cd /usr/src
> make build
> 
> dmesg with trace and ps:  
> http://juanfra.info/bugs-y-listas/obsd-vmmap-201201/dmesg.txt.bz2
> 
> When I boot the system with /obsd (from snapshots) and the userland with  
> your patch applied, all works without issues.
> 
> I will save the dump for a few weeks. If you need more info, ask me.

I got the dump, thanks.

Now to figure out why this happens... :)
-- 
Ariane

Reply via email to