Subject: Re: UBC and occasional-use apps
To: Lars Heidieker <>
From: Perry E. Metzger <>
List: current-users
Date: 10/27/2001 11:32:14
Lars Heidieker <> writes:
> >One problem is that we still incorrectly account for shared library
> >pages as though they were file pages, which results in them getting
> >nuked quickly (especially when we are dealing with huge shared libs
> >like the ones for mozilla). Simply fixing that bug would be a giant
> >win.

> That was the idea of my patch by using the ref-count from the vnode as
> it is only 1 for fs-cache-only vnodes and higher for others as far as
> I know....

There is no reason we can't do this right. If we simply account for
pages mapped executable differently from those in files we'll be
fine. It can't possibly be that hard.

Perry E. Metzger
NetBSD Development, Support & CDs.