Subject: Re: UBC and occasional-use apps
To: Peter Seebach <>
From: Perry E. Metzger <>
List: current-users
Date: 10/29/2001 18:48:58 (Peter Seebach) writes:
> So, if I don't browse any web pages for a few minutes, Mozilla gets paged
> out.
> Completely.

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

Modified Files:
	syssrc/sys/uvm: uvm_map.c uvm_mmap.c

Log Message:
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
NetBSD Development, Support & CDs.