Dave Chinner
8ab47664d5
vfs: increase shrinker batch size
...
Now that the per-sb shrinker is responsible for shrinking 2 or more
caches, increase the batch size to keep econmies of scale for
shrinking each cache. Increase the shrinker batch size to 1024
objects.
To allow for a large increase in batch size, add a conditional
reschedule to prune_icache_sb() so that we don't hold the LRU spin
lock for too long. This mirrors the behaviour of the
__shrink_dcache_sb(), and allows us to increase the batch size
without needing to worry about problems caused by long lock hold
times.
To ensure that filesystems using the per-sb shrinker callouts don't
cause problems, document that the object freeing method must
reschedule appropriately inside loops.
Signed-off-by: Dave Chinner <dchinner@redhat.com >
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
2011-07-20 20:47:41 -04:00
..
2011-06-15 20:03:59 -07:00
2011-06-15 21:52:50 -07:00
2011-05-29 01:50:40 -04:00
2011-05-25 21:47:48 +01:00
2011-03-31 11:26:23 -03:00
2011-05-06 08:23:59 -06:00
2011-07-06 13:17:51 -07:00
2011-03-16 17:54:31 -04:00
2011-03-25 14:30:31 -06:00
2011-03-31 11:26:23 -03:00
2011-05-27 22:59:57 +01:00
2011-05-27 20:06:53 -07:00
2011-05-06 18:01:05 -07:00
2011-04-07 11:14:49 -07:00
2011-03-31 11:26:23 -03:00
2011-07-20 20:47:41 -04:00
2011-03-22 11:43:51 +01:00
2011-07-03 13:32:54 +02:00
2011-05-24 20:58:49 +02:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-05-16 22:48:24 -07:00
2011-05-25 16:55:55 -07:00
2011-03-31 11:26:23 -03:00
2011-04-19 16:53:45 -07:00
2011-05-25 16:54:01 -07:00
2011-07-07 10:39:05 -04:00
2011-04-04 17:51:47 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-05-24 21:01:21 -04:00
2011-07-08 09:31:31 -07:00
2011-03-31 11:26:23 -03:00
2011-07-02 14:27:11 +02:00
2011-03-31 11:26:23 -03:00
2011-05-13 16:31:00 -07:00
2011-05-23 13:01:00 -07:00
2011-03-23 19:46:41 -07:00
2011-05-26 09:42:23 -07:00
2011-04-04 17:51:47 -07:00
2011-06-15 21:52:50 -07:00
2011-05-24 12:36:06 -04:00
2011-05-19 15:59:38 -07:00
2011-03-31 11:26:23 -03:00
2011-05-22 10:01:35 +02:00
2011-03-31 11:26:23 -03:00
2011-05-26 17:12:36 -07:00
2011-03-23 11:36:45 -05:00
2011-03-31 11:26:23 -03:00
2011-05-17 10:52:02 +02:00
2011-04-24 13:18:38 +02:00
2011-06-17 11:28:21 -07:00
2011-05-20 09:30:36 -03:00
2011-05-30 11:14:12 +09:30
2011-06-15 21:52:50 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-05-10 17:22:06 +02:00
2011-05-06 17:59:20 -07:00
2011-05-20 09:10:04 -07:00
2011-05-26 17:12:34 -07:00
2011-05-25 08:39:21 -07:00
2011-07-11 16:48:38 -07:00
2011-07-06 13:17:51 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-05-25 14:49:20 -07:00
2011-05-23 15:14:11 -07:00
2011-03-27 19:46:59 -07:00
2011-04-07 11:14:49 -07:00
2011-03-31 11:26:23 -03:00
2011-07-11 16:43:27 -07:00
2011-04-28 16:12:47 -04:00
2011-05-23 15:14:11 -07:00
2011-03-23 20:44:18 +01:00
2011-05-25 08:39:45 -07:00
2011-03-31 11:26:23 -03:00
2011-07-08 15:49:20 -07:00
2011-06-15 21:52:50 -07:00
2011-05-28 17:03:29 +02:00
2011-06-09 11:43:04 +10:00
2011-03-31 11:26:23 -03:00
2011-06-15 21:52:50 -07:00
2011-03-31 11:26:23 -03:00
2011-07-11 12:45:04 -07:00
2011-03-30 12:02:05 +02:00
2011-03-31 11:26:23 -03:00
2011-05-23 15:14:11 -07:00
2011-05-23 15:14:11 -07:00
2011-03-31 13:40:42 +02:00