]> 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>
Tue, 13 Dec 2011 06:43:33 +0000 (17:43 +1100)
commit5257f3c0322dd3d20892163a082fe67bd17f621c
treefe7d5d392be4deb0a669829e060c52953bd92110
parentded7ce58d6c339f03aa48f7abe97c5d451530eda
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