[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libpager multi-client support

From: Kalle Olavi Niemitalo
Subject: Re: libpager multi-client support
Date: Fri, 14 Oct 2016 11:41:09 +0300
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.51 (gnu/linux)

"Brent W. Baccala" <cosine@freesoft.org> writes:

> Second, I can't find anywhere in the hurd source tree where this function
> is actually used.

Commit 84cf9c0f312637b670cc87224ff7e7c4da659e36 on 2013-09-17
removed the ufs directory, in which the offer_data function used
to call pager_offer_page.  The last argument of pager_offer_page
always pointed to a page that was part of the global zeroblock,
which was the size of a filesystem block and filled with zeroes.

> Third, why would we want this feature?  Why would a memory server ever want
> to send an unsolicited page to a client?

One of the offer_data calls was preceded by a comment:

  /* Make sure that any pages of this block which just became allocated
     don't get paged in from disk. */

I don't know how ext2fs makes sure of that, or whether
pager_offer_page might again be needed for the same purpose in
the future.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]