]> git.karo-electronics.de Git - karo-tx-linux.git/commit
thp: remove unnecessary tlb flush for mprotect
authorShaohua Li <shaohua.li@intel.com>
Fri, 2 Dec 2011 03:13:08 +0000 (14:13 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 7 Dec 2011 05:33:10 +0000 (16:33 +1100)
commit262e2385cfe77db7fcba23b5cc06725a308f0e2a
treedc3a3f5a8bab4c5b4638cbddc8d19e865e2794af
parentb37b96ed0f42a187a995e3971c8a2fdf79c1e97b
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>
mm/huge_memory.c