Re: [PATCH 6/9] rmap: support file THP

From: Dave Hansen
Date: Tue Dec 01 2015 - 15:56:30 EST


On 11/18/2015 03:25 PM, Kirill A. Shutemov wrote:
> -void page_add_file_rmap(struct page *page)
> +void page_add_file_rmap(struct page *page, bool compound)

I take it we have to pass 'compound' in explicitly because
PageCompound() could be true, but we don't want to do a compound
mapping. This is true for those weirdo sound driver allocations and a
few other ones, right?

Or is there something else?
--
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/