thp: remove unnecessary tlb flush for mprotect
authorShaohua Li <shaohua.li@intel.com>
Fri, 13 Jan 2012 01:19:13 +0000 (17:19 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 13 Jan 2012 04:13:08 +0000 (20:13 -0800)
commite5591307f0c1eb733d280a0b72473e01d7f88530
tree3021a7e07c92e63260d1d03f14f34f771399aa92
parent569e55900a5c3c30de6e25c3f259ae7c7dbadb96
thp: remove unnecessary tlb flush for mprotect

change_protection() will do TLB flush later, don't need duplicate tlb
flush.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Reviewed-by: Andrea Arcangeli <aarcange@redhat.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Johannes Weiner <jweiner@redhat.com>
Cc: Minchan Kim <minchan.kim@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/huge_memory.c