From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 28 17:35:20 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78B24106566B for ; Thu, 28 Oct 2010 17:35:20 +0000 (UTC) (envelope-from alan.l.cox@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 02FE78FC08 for ; Thu, 28 Oct 2010 17:35:19 +0000 (UTC) Received: by bwz3 with SMTP id 3so1793441bwz.13 for ; Thu, 28 Oct 2010 10:35:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to :in-reply-to:references:date:message-id:subject:from:to:cc :content-type; bh=cFFO0lLYD66eezJ962xJU0ZqQGW6sXoy+44Qn4RoEWI=; b=DsuMp8STbKpFT7R7oJwGVq0W98FIjx1ffcJouWkdnUXAMiG8gtgMf81OBEia6sx9Rl dMIMvl9duflb5N6a7fZYz00CWC2XVGhqJMjAAhrg7OL9LyXaYfx3T/6pFR23xH+NklYe iMAeZozpnRNuO080PFudPtUkA+5RlL2Jd3inU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=Cm1r2hLK4VLkr5RjfsD1ewfyjxt0D48h1Aptm9Jc7lH5q3E+Y4eQJ8Dq8DCWZcbn++ 6nZ2+3Nc8EA17lL9XC0NkEK7raqlOmbk4q8Xi20JR1IDbMUyrlaayUuko+L2R26mgOL/ F3iAB52/2DsKAiT8a5L+8vWQSvECiUGufGiec= MIME-Version: 1.0 Received: by 10.204.77.8 with SMTP id e8mr739911bkk.108.1288287318483; Thu, 28 Oct 2010 10:35:18 -0700 (PDT) Received: by 10.223.94.68 with HTTP; Thu, 28 Oct 2010 10:35:18 -0700 (PDT) In-Reply-To: References: Date: Thu, 28 Oct 2010 12:35:18 -0500 Message-ID: From: Alan Cox To: Eknath Venkataramani Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org Subject: Re: vm_object ref_count question X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: alc@freebsd.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Oct 2010 17:35:20 -0000 On Thu, Oct 28, 2010 at 2:48 AM, Eknath Venkataramani wrote: > ref_count is defined inside struct vm_object. > and it is incremented everytime the object is referenced > How is the page reference logged then? rather in which variable? > > There is no per-page reference. There is, however, a garbage-collection-like process performed by vm_object_collapse(). Regards, Alan