Re: [RFC PATCH 2/2] mm: Batch page_check_references inshrink_page_list sharing the same i_mmap_mutex

From: Matthew Wilcox
Date: Thu Aug 23 2012 - 14:33:11 EST


On Tue, Aug 21, 2012 at 05:48:20PM -0700, Tim Chen wrote:
> Thanks to Matthew's suggestions on improving the patch. Here's the
> updated version. It seems to be sane when I booted my machine up. I
> will put it through more testing when I get a chance.

Looks good.

> +int __try_to_munlock(struct page *page)

Nit: I think this can be static. There aren't any users of it other
than try_to_munlock() itself.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/