OK, thanks. I can't immediately think of anything which would have
altered the refcounting in there except for page reclaim.
What you could do is to check whether the `page_count(page) != 1'
pages are on the LRU. If they have !PageLRU(page) then the extra
ref was taken by shrink_cache(). But that would be pretty rare,
especially on UP.
You may have more success using the stronger invalidate_inode_pages2().
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/