Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jul 1998 16:53:16 -0400 (EDT)
From:      zhihuizhang <bf20761@binghamton.edu>
To:        hackers <freebsd-hackers@FreeBSD.ORG>
Subject:   Default Pagers
Message-ID:  <Pine.SOL.L3.93.980707164658.24846B-100000@bingsun1>

next in thread | raw e-mail | index | archive | help

While reading file default_pager.c, I find there is really little code in
that file.  I wonder why default pager is used and why we have to convert
an object into a swap pager and when to do so. 

I search the Archives extensively and do find something which I quote
below:

A "default pager" has now been created which cleans up the 
transition of objects to the "swap" type. The previous checks 
throughout the code for swp->pg_data != NULL were really ugly. 
This change also provides the rudiments for future backing of 
"anonymous" memory by something other than the swap pager (via 
the vnode pager, for example), and it allows the decision about 
which of these pagers to use to be made dynamically (although 
will need some additional decision code to do this, of course).
  
The 4.4 BSD book also talks little about this topic. I hope someone can
enlighten me a little bit more.  Thanks in advance.


-------------------------------------------------

Zhihui Zhang

Department of Computer Science
State University of New York at Binghamton

Web Site: http://cs.binghamton.edu/~zzhang

-------------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.L3.93.980707164658.24846B-100000>