From owner-freebsd-arch Mon Jan 22 11:33:44 2001 Delivered-To: freebsd-arch@freebsd.org Received: from VL-MS-MR002.sc1.videotron.ca (relais.videotron.ca [24.201.245.36]) by hub.freebsd.org (Postfix) with ESMTP id 1BD1637B400 for ; Mon, 22 Jan 2001 11:33:27 -0800 (PST) Received: from jehovah ([24.201.144.31]) by VL-MS-MR002.sc1.videotron.ca (Netscape Messaging Server 4.15) with SMTP id G7KWZQ01.0PS; Mon, 22 Jan 2001 14:33:26 -0500 Message-ID: <015201c084aa$6c356800$1f90c918@jehovah> From: "Bosko Milekic" To: , "Dag-Erling Smorgrav" References: Subject: Re: Second zone allocator patch Date: Mon, 22 Jan 2001 14:35:05 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dag-Erling Smorgrav wrote: > http://people.freebsd.org/~des/software/vm_zone-20010122.diff > > This replaces the simplelock in vm_zone with a mutex, and adds a > subsystem mutex that must be held when manipulating zlist (which is > now an SLIST). > > Stuff that remains to be done: > > - use atomic operations for updating the statistics counters. Can you get away with grouping the changes to these counters while holding the zlist lock? If so, you can get rid of the necessity for the atomic() ops. > - implement vm_zone_init2() and find the right place to call it from, > to remove the need for zinitna(). > > - make the rest of the VM system thread-safe so we can dispense with ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I can't believe you actually said this publically. :-) Now you're going to have to assume responsability for it. :-P > the Giant hackery in zinitna() and _zget(). > - add a mail reader (accessible through the sysctl interface). Port it to OpenBSD when you're done, and send it to Theo. CC -chat for entertainment purposes. :-) > DES > -- > Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message