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-07-26 16:49:46 -07:00
2009-07-27 12:10:38 -07:00
2009-06-15 13:27:38 +10:00
2009-06-12 11:32:58 +02:00
2011-07-26 16:49:48 -07:00
2011-05-04 14:41:28 -04:00
2011-05-04 14:41:28 -04:00
2011-05-04 14:41:28 -04:00
2007-05-11 05:38:25 -04:00
2011-05-04 14:41:28 -04:00
2009-06-11 21:02:15 +02:00
2011-03-23 19:46:22 -07:00
2009-06-11 21:02:14 +02:00
2011-10-31 17:30:54 -07:00
2009-06-11 21:02:37 +02:00
2009-06-11 21:02:50 +02:00
2011-05-25 08:39:37 -07:00
2011-11-01 07:34:21 -07:00
2010-10-07 14:08:55 +01:00
2008-02-07 08:42:30 -08:00
2012-01-06 08:44:54 -08:00
2009-06-11 21:02:37 +02:00
2011-07-22 18:45:33 +02:00
2009-07-22 00:28:38 +02:00
2008-05-01 08:03:58 -07:00
2008-06-30 12:51:05 +02:00
2010-08-11 08:59:21 -07:00
2011-10-31 17:30:44 -07:00
2009-06-11 21:02:42 +02:00
2011-03-17 13:08:27 -03:00
2009-06-11 21:02:37 +02:00
2011-08-19 13:25:34 -04:00
2011-03-17 09:19:04 +08:00
2011-03-11 12:23:31 +01:00
2009-06-11 21:02:17 +02:00
2011-12-12 13:40:16 -07:00
2010-10-07 14:08:55 +01:00
2009-06-11 21:02:42 +02:00
2009-06-11 21:02:14 +02:00
2009-06-11 21:02:14 +02:00
2012-01-10 18:04:27 -08:00
2008-08-12 16:07:31 -07:00
2011-02-17 14:16:30 -08:00
2011-11-28 21:12:42 +02:00
2009-06-11 21:02:15 +02:00
2010-12-17 15:07:19 +01:00
2009-06-11 21:02:37 +02:00
2010-10-07 14:08:55 +01:00
2010-08-14 22:26:51 +02:00
2010-08-14 22:26:51 +02:00
2010-10-09 21:51:44 +02:00
2010-05-25 08:07:03 -07:00
2007-10-12 14:55:37 -04:00
2009-06-11 21:02:37 +02:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2011-08-17 13:00:20 -07:00
2007-05-02 19:27:14 +02:00
2011-01-13 17:32:47 -08:00
2009-09-22 07:17:41 -07:00
2009-06-11 21:02:50 +02:00
2009-06-11 21:02:50 +02:00
2009-06-11 21:02:37 +02:00
2009-06-11 21:02:15 +02:00
2008-10-23 09:18:20 -07:00
2006-10-03 23:01:26 +02:00
2008-10-23 09:18:20 -07:00
2009-06-11 21:02:37 +02:00
2012-01-10 17:39:40 -08:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:42 +02:00
2011-11-28 21:12:42 +02:00
2011-07-12 11:13:07 -05:00
2010-03-12 15:52:42 -08:00
2009-09-09 13:29:18 -07:00
2010-09-10 10:56:51 +02:00
2009-06-11 21:02:50 +02:00
2009-07-27 12:10:38 -07:00
2009-07-27 12:10:38 -07:00
2011-06-15 20:04:00 -07:00
2007-05-11 08:29:34 -07:00
2009-06-11 21:02:15 +02:00
2011-05-26 17:12:36 -07:00
2011-05-25 08:39:43 -07:00
2009-06-11 21:02:18 +02:00
2011-11-01 07:34:20 -07:00
2010-05-27 09:12:54 -07:00
2011-03-08 17:22:11 +01:00
2009-06-11 21:02:50 +02:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:42 +02:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:15 +02:00
2011-03-31 11:26:23 -03:00
2009-06-11 21:01:52 +02:00
2009-06-11 21:02:15 +02:00
2011-03-17 09:19:04 +08:00
2011-11-09 16:01:02 -05:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:37 +02:00
2010-11-01 15:31:29 -04:00
2010-08-09 16:48:44 -04:00
2009-06-11 21:02:37 +02:00
2009-06-11 21:02:15 +02:00
2009-09-22 19:56:50 -07:00
2010-08-18 12:12:38 -07:00
2011-07-25 20:57:14 -07:00
2010-08-10 13:47:39 -07:00
2009-06-11 21:01:52 +02:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:42 +02:00
2012-01-12 20:13:08 -08:00
2009-06-11 21:02:50 +02:00
2010-08-09 20:44:57 -07:00
2012-01-03 22:55:17 -05:00
2009-06-11 21:02:17 +02:00
2011-10-06 19:47:12 -04:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:37 +02:00
2011-12-03 15:31:48 -05:00
2011-03-01 15:49:39 +01:00
2009-06-11 21:02:42 +02:00
2011-10-24 21:00:34 +02:00
2011-05-20 12:50:29 -07:00