]> 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>
Fri, 2 Dec 2011 03:15:55 +0000 (14:15 +1100)
commit2f897235a22a00f422cdc9848a6d3a0245791b4b
treed56bb9fe003ef4921cc214d4e60b5e4cbab42fe6
parent2cecea4150d5a2a1a6a4da38aae4e556ca517f89
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