There seems to be some disagreement about how the hugepage state is passed into tlb_batch_add(). It's declared as an integer shift, but there are call sites that pass it in the old way, as a boolean. For example, all of the call sites in tlb_batch_pmd_scan(), which likely should be passing PAGE_SHIFT. Passing true or false in these spots can't be right. I also noticed that there appears to be generic support for handling the need to flush on page size changes during tlb batching, have a look at __tlb_remove_page_size(), and the new arch overridable hook tlb_remove_check_page_size_change(). Thanks. -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html