Files
linux/include/linux
Matthew Wilcox 268f42de71 radix-tree: delete radix_tree_range_tag_if_tagged()
This is an exceptionally complicated function with just one caller
(tag_pages_for_writeback).  We devote a large portion of the runtime of
the test suite to testing this one function which has one caller.  By
introducing the new function radix_tree_iter_tag_set(), we can eliminate
all of the complexity while keeping the performance.  The caller can now
use a fairly standard radix_tree_for_each() loop, and it doesn't need to
worry about tricksy things like 'start' wrapping.

The test suite continues to spend a large amount of time investigating
this function, but now it's testing the underlying primitives such as
radix_tree_iter_resume() and the radix_tree_for_each_tagged() iterator
which are also used by other parts of the kernel.

Link: http://lkml.kernel.org/r/1480369871-5271-57-git-send-email-mawilcox@linuxonhyperv.com
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Tested-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Konstantin Khlebnikov <koct9i@gmail.com>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-12-14 16:04:10 -08:00
..
2016-07-08 16:23:11 +02:00
2016-11-02 20:43:07 +01:00
2016-10-19 14:34:36 -04:00
2016-12-08 13:31:11 -05:00
2016-08-11 09:41:35 -06:00
2016-12-08 16:37:33 -08:00
2016-09-27 21:20:53 -04:00
2016-08-02 19:35:24 -04:00
2016-10-07 18:46:30 -07:00
2016-10-28 08:48:16 -06:00
2016-11-21 10:57:19 +01:00
2016-05-17 15:48:12 -04:00
2016-11-25 10:15:13 -08:00
2016-09-16 12:44:20 +02:00
2016-07-22 09:07:02 +02:00
2016-09-24 10:48:18 +02:00
2015-11-25 09:22:00 -07:00
2016-02-11 09:59:22 -05:00
2016-09-16 09:34:15 +01:00
2016-09-14 09:18:09 -06:00
2016-09-20 23:20:32 +02:00
2016-05-11 22:37:54 +02:00
2016-01-28 14:19:12 -08:00
2016-03-22 15:36:02 -07:00
2016-08-10 11:23:44 -04:00
2016-03-22 15:36:02 -07:00
2016-12-12 18:55:06 -08:00
2016-01-15 17:56:32 -08:00
2016-09-27 12:33:47 +02:00
2016-11-17 08:24:48 -07:00
2016-12-06 11:05:46 +01:00
2016-12-14 16:04:09 -08:00
2016-08-04 10:16:55 +09:30
2016-07-29 12:17:52 -07:00
2016-08-28 23:32:41 -04:00
2016-06-03 19:37:21 -04:00
2016-12-08 13:18:35 -05:00
2016-11-16 18:32:02 -05:00
2016-04-25 15:09:11 -04:00
2016-02-16 13:04:58 -05:00
2016-12-12 18:55:07 -08:00
2016-05-02 09:00:56 -05:00
2016-11-10 17:03:35 +01:00
2016-12-06 10:17:03 +02:00
2016-02-11 18:35:48 -08:00
2016-03-14 15:43:11 -04:00
2016-12-08 14:21:47 -05:00
2016-10-31 16:18:30 -04:00
2016-10-14 11:36:59 -07:00
2016-07-12 19:25:38 -07:00
2016-09-27 21:52:00 -04:00
2016-11-15 16:34:27 -08:00
2016-03-17 15:09:34 -07:00
2016-07-06 10:51:14 +01:00
2016-09-20 04:43:36 -04:00
2016-03-22 15:36:02 -07:00
2016-10-31 15:45:18 -07:00
2016-06-14 10:54:40 -07:00
2016-01-04 16:11:11 -05:00
2016-09-06 18:30:20 +02:00
2016-05-08 23:46:14 -04:00
2016-10-05 18:23:36 -04:00
2016-07-19 17:43:38 +03:00
2016-05-23 17:04:14 -07:00
2016-12-09 22:12:21 -05:00
2016-05-20 17:58:30 -07:00
2016-12-12 18:55:08 -08:00
2016-09-30 10:54:03 +02:00
2015-12-03 07:24:29 -08:00