]> git.karo-electronics.de Git - karo-tx-linux.git/commit
thp: remove unnecessary tlb flush for mprotect
authorShaohua Li <shaohua.li@intel.com>
Wed, 30 Nov 2011 04:11:59 +0000 (15:11 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 30 Nov 2011 04:14:05 +0000 (15:14 +1100)
commit20747d8341d6b80a1aa56aa7fcdc15b04140d131
tree0b6e400995eda77533d103593e312d553f0aeedd
parentf2f4595af556434aa19a12ff69372735f3c233ca
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