Date: Thu, 28 Oct 2010 12:35:18 -0500 From: Alan Cox <alan.l.cox@gmail.com> To: Eknath Venkataramani <eknath.iyer@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: vm_object ref_count question Message-ID: <AANLkTi=uSTP_%2Bfc97ts1P0NiZHqcDvzSO6%2Biaxev3zxa@mail.gmail.com> In-Reply-To: <AANLkTikmmdQ-ORJDDQpepvnh%2By-Z0re8QW_SBdXaP1ua@mail.gmail.com> References: <AANLkTikmmdQ-ORJDDQpepvnh%2By-Z0re8QW_SBdXaP1ua@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 28, 2010 at 2:48 AM, Eknath Venkataramani <eknath.iyer@gmail.com > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=uSTP_%2Bfc97ts1P0NiZHqcDvzSO6%2Biaxev3zxa>