Subject: Re: UBC and occasional-use apps
To: Peter Seebach <firstname.lastname@example.org>
From: Perry E. Metzger <email@example.com>
Date: 10/29/2001 18:48:58
firstname.lastname@example.org (Peter Seebach) writes:
> So, if I don't browse any web pages for a few minutes, Mozilla gets paged
Jason just committed what I believe works as a fix for this. Try
setting vm.vtextmin=20 and vm.anonmin=20 and see if that makes your
life better (or 30 or something, though the lower the number that will
work for you the better.) I've been running with those two set to 20
and his patch and the problem no longer afflicts me. Your mileage may
differ -- it depends on your app mix -- but the problem is certainly
much less apparent now.
Module Name: syssrc
Committed By: thorpej
Date: Mon Oct 29 23:06:04 UTC 2001
syssrc/sys/uvm: uvm_map.c uvm_mmap.c
uvm_mmap(): If a vnode mapping is established with PROT_EXEC, mark the
vnode as VTEXT.
uvm_map_protect(): When VM_PROT_EXECUTE is added to a VA range, mark
all the vnodes mapped by the range as VTEXT.
Perry E. Metzger email@example.com
NetBSD Development, Support & CDs. http://www.wasabisystems.com/