Files
ubports_kernel_google_msm/include/linux
Shaohua Li f21760b15d thp: add tlb_remove_pmd_tlb_entry
We have tlb_remove_tlb_entry to indicate a pte tlb flush entry should be
flushed, but not a corresponding API for pmd entry.  This isn't a
problem so far because THP is only for x86 currently and tlb_flush()
under x86 will flush entire TLB.  But this is confusion and could be
missed if thp is ported to other arch.

Also convert tlb->need_flush = 1 to a VM_BUG_ON(!tlb->need_flush) in
__tlb_remove_page() as suggested by Andrea Arcangeli.  The
__tlb_remove_page() function is supposed to be called after
tlb_remove_xxx_tlb_entry() and we can catch any misuse.

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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-01-12 20:13:08 -08:00
..
2011-12-11 18:25:16 -05:00
2011-12-13 15:30:49 -05:00
2012-01-04 15:52:42 -08:00
2011-11-02 16:07:03 -07:00
2011-10-26 15:43:25 -04:00
2012-01-03 22:55:17 -05:00
2011-11-16 09:21:50 +01:00
2012-01-10 16:30:42 -08:00
2012-01-03 22:54:57 -05:00
2011-10-29 21:20:22 +02:00
2012-01-10 13:06:32 -05:00
2011-11-07 23:54:53 +01:00
2012-01-04 08:56:31 -06:00
2011-10-31 20:19:04 +00:00
2011-11-26 14:59:39 -05:00
2011-12-09 17:35:51 -08:00
2011-12-11 18:25:16 -05:00
2012-01-12 20:13:04 -08:00
2012-01-03 22:54:58 -05:00
2012-01-12 20:13:04 -08:00
2012-01-12 20:13:08 -08:00
2012-01-03 22:54:56 -05:00
2011-11-16 18:16:38 -05:00
2011-11-13 16:10:10 -05:00
2012-01-03 22:55:17 -05:00
2011-12-11 18:25:16 -05:00
2012-01-09 13:52:09 +01:00
2011-12-14 11:19:07 -08:00
2011-12-27 11:26:41 +02:00
2012-01-03 22:55:15 -05:00
2011-11-14 00:47:54 -05:00
2011-10-31 14:03:22 +01:00
2012-01-10 16:30:41 -08:00
2012-01-06 12:10:26 -08:00
2012-01-05 14:01:21 -05:00
2011-11-02 16:07:02 -07:00
2012-01-03 22:55:07 -05:00
2012-01-03 22:54:56 -05:00
2012-01-03 22:52:40 -05:00
2012-01-09 09:33:57 +09:00
2011-10-31 17:30:47 -07:00
2012-01-03 22:54:56 -05:00
2011-11-02 16:07:02 -07:00