Michel Lespinasse
6b2dbba8b6
mm: replace vma prio_tree with an interval tree
...
Implement an interval tree as a replacement for the VMA prio_tree. The
algorithms are similar to lib/interval_tree.c; however that code can't be
directly reused as the interval endpoints are not explicitly stored in the
VMA. So instead, the common algorithm is moved into a template and the
details (node type, how to get interval endpoints from the node, etc) are
filled in using the C preprocessor.
Once the interval tree functions are available, using them as a
replacement to the VMA prio tree is a relatively simple, mechanical job.
Signed-off-by: Michel Lespinasse <walken@google.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Hillf Danton <dhillf@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-10-09 16:22:39 +09:00
..
2010-01-11 09:34:04 -08:00
2012-05-26 11:51:03 +10:00
2012-05-28 14:10:22 +10:00
2008-04-18 22:17:17 -04:00
2011-09-21 13:39:59 -07:00
2011-03-22 17:44:17 -07:00
2010-03-12 15:52:44 -08:00
2012-03-07 15:04:04 -05:00
2012-07-30 17:25:16 -07:00
2012-03-07 15:04:04 -05:00
2011-05-04 14:41:28 -04:00
2012-03-07 15:04:04 -05:00
2012-09-10 11:13:16 -07:00
2011-03-11 14:25:50 +00:00
2012-05-29 16:22:32 -07:00
2008-06-06 11:29:10 -07:00
2012-03-07 15:04:04 -05:00
2012-06-07 14:43:55 -07:00
2012-01-26 21:28:45 +01:00
2009-01-06 15:59:11 -08:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-02-02 10:34:23 +11:00
2012-03-07 15:04:04 -05:00
2011-10-29 21:20:22 +02:00
2012-03-07 15:04:04 -05:00
2012-07-30 17:25:22 -07:00
2012-03-28 17:14:35 -07:00
2007-07-17 10:23:04 -07:00
2011-06-03 15:01:06 -04:00
2012-10-06 03:04:46 +09:00
2012-03-23 16:58:38 -07:00
2007-05-10 18:24:13 +02:00
2008-07-12 08:22:32 -05:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-04-18 13:38:48 +02:00
2012-03-07 15:04:04 -05:00
2011-12-06 10:00:05 +01:00
2011-01-13 08:03:25 -08:00
2011-12-06 09:53:40 +01:00
2012-01-12 20:13:13 -08:00
2011-03-31 11:26:23 -03:00
2012-10-06 03:05:32 +09:00
2012-03-07 15:04:04 -05:00
2012-09-13 09:13:02 +08:00
2012-06-28 11:51:39 +02:00
2012-10-02 12:10:27 +02:00
2012-03-07 15:04:04 -05:00
2012-09-17 06:10:05 -07:00
2012-05-31 18:18:17 -04:00
2009-06-12 21:47:04 +09:30
2012-06-20 14:39:36 -07:00
2012-07-23 13:54:52 +01:00
2012-07-23 13:54:52 +01:00
2012-07-23 13:54:52 +01:00
2012-07-23 13:54:52 +01:00
2012-07-23 13:54:52 +01:00
2012-07-23 13:54:52 +01:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-09-25 08:59:21 -07:00
2012-10-06 03:04:57 +09:00
2012-10-06 03:04:46 +09:00
2012-10-06 03:04:57 +09:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-10-06 03:04:56 +09:00
2010-08-12 09:51:35 -07:00
2012-03-07 15:04:04 -05:00
2012-10-09 16:22:39 +09:00
2012-10-09 16:22:39 +09:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-24 10:24:31 -07:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2009-07-17 09:11:31 +10:00
2012-05-02 00:04:06 -07:00
2012-03-07 15:04:04 -05:00
2012-07-30 17:25:34 -07:00
2012-10-09 16:22:39 +09:00
2010-05-20 21:04:26 -05:00
2009-07-01 22:28:44 +02:00
2012-04-19 19:17:30 -07:00
2012-09-08 18:46:30 -04:00
2012-05-07 16:51:19 -07:00
2012-03-07 15:04:04 -05:00
2011-10-31 17:30:56 -07:00
2012-03-07 15:04:04 -05:00
2008-12-25 11:01:42 +11:00
2012-07-06 06:01:49 -07:00
2010-10-26 16:52:19 -07:00
2012-03-28 15:58:21 -07:00
2012-03-07 15:04:04 -05:00
2011-05-25 08:39:52 -07:00
2012-10-09 16:22:39 +09:00
2012-03-07 15:04:04 -05:00
2012-07-30 17:25:22 -07:00
2012-07-30 17:25:16 -07:00
2012-08-30 13:11:46 -04:00
2012-07-30 17:25:22 -07:00
2012-07-30 17:25:22 -07:00
2012-10-06 03:04:56 +09:00
2012-01-31 23:19:47 +02:00
2012-07-31 09:28:31 +04:00
2012-10-06 03:04:58 +09:00
2012-07-30 17:25:22 -07:00
2009-01-06 15:59:11 -08:00
2012-10-09 16:22:39 +09:00
2012-10-09 16:22:39 +09:00
2011-09-13 11:11:50 +02:00
2012-07-30 17:25:22 -07:00
2012-06-05 10:46:40 -07:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-05-17 15:18:37 +02:00
2012-10-09 16:22:38 +09:00
2012-10-09 16:22:38 +09:00
2011-12-08 19:52:43 -05:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-10-06 03:04:58 +09:00
2012-03-07 15:04:04 -05:00
2011-05-25 08:39:03 -07:00
2012-03-07 15:04:04 -05:00
2009-01-08 08:31:14 -08:00
2012-10-06 03:04:57 +09:00
2012-04-20 23:27:08 +02:00
2012-05-29 16:22:32 -07:00
2012-03-24 10:24:31 -07:00
2012-05-26 11:33:40 -07:00
2012-05-27 20:59:46 -07:00
2012-08-21 14:47:25 -04:00
2012-03-07 15:04:04 -05:00
2012-05-29 16:22:32 -07:00
2011-01-24 23:33:30 -08:00
2012-03-24 10:24:31 -07:00
2008-07-08 02:37:54 -07:00
2008-07-08 02:38:27 -07:00
2008-07-08 02:38:09 -07:00
2012-03-07 15:04:04 -05:00
2012-10-06 03:04:58 +09:00