From owner-freebsd-hackers Thu Aug 12 21:52:11 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.rdc1.sfba.home.com (ha1.rdc1.sfba.home.com [24.0.0.66]) by hub.freebsd.org (Postfix) with ESMTP id 4B78114D42 for ; Thu, 12 Aug 1999 21:52:03 -0700 (PDT) (envelope-from adsharma@c62443-a.frmt1.sfba.home.com) Received: from c62443-a.frmt1.sfba.home.com ([24.0.69.165]) by mail.rdc1.sfba.home.com (InterMail v4.01.01.00 201-229-111) with ESMTP id <19990813045215.OMBB8807.mail.rdc1.sfba.home.com@c62443-a.frmt1.sfba.home.com> for ; Thu, 12 Aug 1999 21:52:15 -0700 Received: (from adsharma@localhost) by c62443-a.frmt1.sfba.home.com (8.9.3/8.9.3) id XAA17089 for freebsd-hackers@FreeBSD.ORG; Thu, 12 Aug 1999 23:52:09 -0700 Date: Thu, 12 Aug 1999 23:52:08 -0700 From: Arun Sharma To: freebsd-hackers@FreeBSD.ORG Subject: Re: mmap bug Message-ID: <19990812235208.A17058@home.com> References: <199908111819.LAA26998@implode.root.com> <199908112116.OAA77941@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: ; from Tony Finch on Thu, Aug 12, 1999 at 12:02:19PM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Aug 12, 1999 at 12:02:19PM +0100, Tony Finch wrote: > Matthew Dillon wrote: > > > > One solution would be to map clean R+W pages RO and force a write fault > > to occur, allowing the system to recognize that there are too many dirty > > pages in vm_fault before it is too late and flush some of them. The > > downside of this is that, of course, we take unnecessary faults. > > Surely they aren't unnecessary faults if they are required for correctness? They _are_ unnecessary faults, if other correct solutions exist. The second alternative - to mark system daemons as special sounds much more attractive. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message