Re: [PATCH 1/4] pull out the page pre-release and sanity check logic for reuse

KOSAKI Motohiro
2008-09-05T01:52:10Z

> When we are about to release a page we perform a number of actions
> on that page. We clear down any anonymous mappings, confirm that
> the page is safe to release, check for freeing locks, before mapping
> the page should that be required. Pull this processing out into a
> helper function for reuse in a later patch.
>
> Note that we do not convert the similar cleardown in free_hot_cold_page()
> as the optimiser is unable to squash the loops during the inline.
>
> Signed-off-by: Andy Whitcroft <apw@shadowen.org>

Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>