From owner-freebsd-hackers Fri Feb 22 14:40:29 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 79C0F37B400 for ; Fri, 22 Feb 2002 14:40:27 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id g1MMeQP31567; Fri, 22 Feb 2002 14:40:26 -0800 (PST) (envelope-from dillon) Date: Fri, 22 Feb 2002 14:40:26 -0800 (PST) From: Matthew Dillon Message-Id: <200202222240.g1MMeQP31567@apollo.backplane.com> To: Terry Lambert Cc: Andrew Mobbs , hackers@FreeBSD.ORG Subject: Re: Re2: msync performance References: <15478.31998.459219.178549@chiark.greenend.org.uk> <200202222042.g1MKg4u22700@apollo.backplane.com> <3C76C1C7.248128A4@mindspring.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :You will need to put it on two lists, I think. : :Though it is not sorted in adjacency order, it is sorted :into LRU order, I think, and simply resorting by adjacency :would destroy the LRU property. Nope, object->memq is not sorted in any order whatsover. :Alternately, does msync() use count as "use" for the :purposes of LRU? If so, I'm all wet, and sorting it will :work, if it's only done at msync() time (e.g. you won't :be able to use an insertion sort). : :-- Terry What 'count' are you refering to? -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message