Subject: Re: uvm_page_physload
To: None <skrll@netbsd.org>
From: Ben Harris <bjh21@netbsd.org>
List: tech-kern
Date: 08/25/2006 16:59:39
In article <200608240924.55578.skrll@netbsd.org> you write:
> It would appear that most code assumes it's exclusive, but
>
> if (atop(paddr) >= avail_start &&
> atop(paddr) <= avail_end)
> uvm_pagefree(&pgs[lcv]);
>
>I must be missing something.
I asked about this a while back. My conclusion was that "end" is
definitely exclusive, and while "avail_end" is actually implemented as
inclusive everything calls it with end == avail_end, so they wouldn't
notice even if avail_end were ignored entirely. Changing it so that
avail_end is treated as exclusive would probably be a good idea.
--
Ben Harris