Re: [PATCH] Avoid unecessary zone spinlocking on refill_inactive_zone()

Nick Piggin
2004-08-28T05:14:23Z

Marcelo Tosatti wrote:

> On a side note, the current accounting of inactive/active pages is broken
> in refill_inactive_zone (due to pages being freed in __release_pages).
> I plan to fix that tomorrow - should be easy as returning the number of pages
> freed in __release_pages and take that into account.
>

Hi,
I don't think this is a problem: release_pages should do del_page_from_lru,
which would take care of accounting, wouldn't it?

Maybe I'm not looking in the right place.