]> git.karo-electronics.de Git - karo-tx-linux.git/commit
thp: remove unnecessary tlb flush for mprotect
authorShaohua Li <shaohua.li@intel.com>
Thu, 8 Dec 2011 04:42:48 +0000 (15:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 12 Dec 2011 04:19:18 +0000 (15:19 +1100)
commit9617ee470aba339c089eefdeeba44d7ad310516a
tree20b271d569a5cb3c06fcd680358f8f5cb00fefca
parent3252909774c285208614ba0a2825bf5ab643c176
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