Andrew Morton fc9a07e7bf invalidate_mapping_pages(): add cond_resched
invalidate_mapping_pages() can sometimes take a long time (millions of pages
to free).  Long enough for the softlockup detector to trigger.

We used to have a cond_resched() in there but I took it out because the
drop_caches code calls invalidate_mapping_pages() under inode_lock.

The patch adds a nasty flag and puts the cond_resched() back.

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-16 09:05:36 -07:00
..
2007-07-14 15:14:14 -05:00
2007-05-17 05:23:04 -07:00
2007-05-21 09:18:19 -07:00
2007-05-08 11:14:59 -07:00
2007-07-09 08:24:13 +01:00
2007-05-17 05:23:04 -07:00
2007-07-10 08:04:15 +02:00
2007-05-17 05:23:04 -07:00
2007-07-16 09:05:34 -07:00
2007-05-21 09:18:19 -07:00
2007-05-17 05:23:04 -07:00
2007-07-09 18:52:00 +02:00
2007-05-17 05:23:04 -07:00
2007-05-21 09:18:19 -07:00
2007-07-10 08:03:34 +02:00
2006-12-07 08:39:25 -08:00
2007-05-18 13:09:34 -07:00
2007-05-15 08:54:00 -07:00
2007-05-23 20:14:13 -07:00
2007-05-21 09:18:19 -07:00
2007-05-08 11:15:01 -07:00
2007-05-17 05:23:04 -07:00
2007-05-08 11:15:09 -07:00
2007-06-04 13:25:10 -07:00
2007-05-09 06:44:57 +02:00
2007-05-17 05:23:04 -07:00
2007-05-11 08:29:36 -07:00
2006-12-07 08:39:25 -08:00
2007-05-08 20:10:00 -07:00
2007-07-10 08:04:16 +02:00
2007-07-10 08:04:15 +02:00
2007-05-09 07:10:02 +02:00
2007-05-08 11:15:01 -07:00
2007-05-18 13:09:34 -07:00