Re: Checking page_count(page) in invalidate_complete_page

Andrew Morton
2006-09-25T23:02:00Z

On Mon, 25 Sep 2006 18:40:51 -0400
Chuck Lever <chuck.lever@oracle.com> wrote:

> invalidate_inode_pages2 appears to wait for locked pages, while
> invalidate_inode_pages skips them.

That won't help here: vmscan takes a ref on the page prior
to trying to lock it.