On Tue, Mar 15, 2011 at 11:01:07AM +0100, Andrea Arcangeli wrote: > Does this look any better? This also optimizes away the tlb flush for > totally uninitialized areas. Looks perfect to me, thanks! > Subject: thp: mremap support and TLB optimization > > From: Andrea Arcangeli <aarcange@xxxxxxxxxx> > > This adds THP support to mremap (decreases the number of split_huge_page > called). > > This also replaces ptep_clear_flush with ptep_get_and_clear and replaces it > with a final flush_tlb_range to send a single tlb flush IPI instead of one IPI > for each page. > > Signed-off-by: Andrea Arcangeli <aarcange@xxxxxxxxxx> Reviewed-by: Johannes Weiner <hannes@xxxxxxxxxxx> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>