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-03-27 08:52:47 +02:00
2007-07-10 08:04:15 +02:00
2006-12-22 08:55:49 -08:00
2007-05-14 09:55:35 +09:00
2007-05-21 09:18:19 -07:00
2007-05-07 12:12:54 -07:00
2007-07-16 09:05:35 -07:00
2007-02-15 09:57:03 -08:00
2007-05-21 09:18:19 -07:00
2007-05-21 09:18:19 -07:00
2007-05-07 12:12:55 -07:00
2005-04-16 15:20:36 -07:00
2007-05-07 12:12:54 -07:00
2007-05-07 12:12:52 -07:00
2007-07-16 09:05:35 -07:00
2007-07-06 11:45:11 -07:00
2007-05-17 05:23:04 -07:00
2007-07-06 10:26:50 -07:00