Re: [PATCH] Avoid unecessary zone spinlocking on refill_inactive_zone()
From: Marcelo Tosatti <hidden>
Date: 2004-08-28 12:35:30
From: Marcelo Tosatti <hidden>
Date: 2004-08-28 12:35:30
On Sat, Aug 28, 2004 at 03:14:23PM +1000, Nick Piggin wrote:
Marcelo Tosatti wrote:quoted
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.
Oh no, you are right, del_page_from_lru() will do the accounting. Sorry for the noise. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>