David Woodhouse
f8a922c7bb
[JFFS2] Use yield() between GC passes in background thread.
...
The garbage collection thread is strictly an optimisation. Everything it
does would also be done just-in-time in the context of something in
userspace trying to access the file system.
Sometimes, however, it's a pessimisation. Especially during early boot
when it's checksumming nodes and scanning inodes which are shortly going
to be pulled in by read_inode anyway. We end up building the rbtree of
node coverage twice for the same inode.
By switching to yield() instead of cond_resched() in the main loop, we
observe boot times on the OLPC system going down from about 100 seconds to
60.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2007-03-08 10:28:30 +00:00
..
2007-02-18 10:16:10 -06:00
2007-02-12 09:48:47 -08:00
2007-02-20 17:10:15 -08:00
2007-02-14 08:09:54 -08:00
2007-02-12 09:48:47 -08:00
2007-02-20 17:10:15 -08:00
2007-02-12 09:48:46 -08:00
2007-02-12 09:48:47 -08:00
2007-03-06 00:31:00 +00:00
2007-02-14 08:09:59 -08:00
2007-02-12 09:48:47 -08:00
2007-02-12 09:48:47 -08:00
2007-02-16 15:19:17 -08:00
2007-02-12 09:48:47 -08:00
2007-03-07 13:58:21 -05:00
2007-03-05 07:57:53 -08:00
2007-02-12 09:48:47 -08:00
2007-02-20 17:10:14 -08:00
2007-03-01 14:53:38 -08:00
2007-03-01 14:53:38 -08:00
2007-02-20 17:10:14 -08:00
2007-02-12 09:48:47 -08:00
2007-02-12 09:48:47 -08:00
2007-03-07 14:03:53 -05:00
2007-02-12 09:48:47 -08:00
2007-02-14 08:09:54 -08:00
2007-02-12 09:48:47 -08:00
2007-02-12 09:48:47 -08:00
2007-02-12 09:48:47 -08:00
2007-02-12 09:48:47 -08:00
2007-02-12 09:48:47 -08:00
2007-03-08 10:28:30 +00:00
2007-02-26 11:44:51 -08:00
2007-02-17 19:13:42 +01:00
2007-02-12 09:48:47 -08:00
2007-02-12 09:48:46 -08:00
2007-03-06 13:26:27 +01:00
2007-02-14 08:09:59 -08:00
2007-02-19 16:13:28 -08:00
2007-02-14 08:10:00 -08:00
2007-02-17 19:23:03 +01:00
2007-02-12 09:48:47 -08:00
2007-02-16 15:19:17 -08:00
2007-02-20 17:10:15 -08:00
2007-02-12 09:48:47 -08:00
2007-02-12 09:48:47 -08:00
2007-02-12 09:48:47 -08:00
2007-02-12 09:48:47 -08:00
2007-02-14 08:09:54 -08:00
2007-03-06 17:59:14 -08:00
2007-02-12 09:48:47 -08:00
2007-02-12 09:48:47 -08:00
2007-02-14 08:09:54 -08:00
2007-02-12 09:48:46 -08:00
2007-02-20 17:10:13 -08:00
2007-02-11 10:51:27 -08:00
2007-02-12 09:48:46 -08:00
2007-02-11 10:51:17 -08:00
2007-02-13 13:26:26 +01:00
2007-02-09 10:45:33 -08:00
2007-02-12 09:48:47 -08:00
2007-02-20 17:10:16 -08:00
2007-03-06 09:30:25 -08:00
2007-02-20 17:10:13 -08:00
2007-02-13 12:08:18 -08:00
2007-02-14 08:09:59 -08:00
2007-02-11 10:51:31 -08:00
2007-02-11 10:51:27 -08:00
2007-02-14 08:09:54 -08:00
2007-01-26 12:53:20 -08:00
2007-02-12 09:48:47 -08:00
2007-02-12 09:48:28 -08:00
2007-02-12 09:48:32 -08:00
2007-02-17 16:10:59 -05:00
2007-03-05 07:57:51 -08:00
2007-02-17 16:10:59 -05:00
2007-02-16 08:13:56 -08:00
2007-02-11 10:51:27 -08:00
2007-02-17 21:30:15 -05:00
2007-02-12 09:48:29 -08:00
2007-02-19 14:21:50 -08:00
2007-02-12 09:48:47 -08:00
2007-02-14 08:09:54 -08:00