Subject: Re: zeroed page recycling
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Chuck Silvers <chuq@chuq.com>
List: tech-kern
Date: 11/02/2003 09:02:48
hi,
this looks good in general. a couple small issues:
(1) could you move the DEBUG XXXyamt code to uvm_pagefree()
(like your comment suggests)?
(2) could you add a description of this to the uvm.9 manpage?
thanks,
-Chuck
On Wed, Oct 29, 2003 at 12:41:46AM +0900, YAMAMOTO Takashi wrote:
> hi,
>
> some subsystems know the page that is about to be freed is zero-filled.
> however, there's no way to tell it to uvm page allocator.
> attached patches allow subsystems (in this case, i386 pmap) to
> do it by setting PG_ZERO flag when freeing the page.
>
> comments?
>
> YAMAMOTO Takashi