Subject: Re: page loaning and pagedaemon
To: None <wrstuden@netbsd.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 12/07/2006 11:19:11
> What will be the consequence of this change, other than pdpolicy being 
> less confusing? i.e. there is some reason loaned pages were treated 
> special. Do we no longer need such treatment? Are we achieving the same 
> goals differently?

an obvious consequence of the change is that pagedaemon picks up
->K loaned pages.  we have choices how to deal with these pages.

	1. "pageout" the loaner side of the page by breaking the loan.
	   (the page will be freed when it's unloaned.)

	2. skip the page, maybe by activating it.

my patch does #1.

it shouldn't matter as far as durations of loaning are short.
it could make differences for eg. a pipe which is rarely read.

YAMAMOTO Takashi