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-06-02 01:02:09 -04:00
2007-07-11 16:02:11 -07:00
2007-07-15 16:40:52 -07:00
2007-07-12 16:04:39 -07:00
2007-07-11 16:02:11 -07:00
2007-07-11 16:02:11 -07:00
2007-07-11 16:02:11 -07:00
2007-06-24 08:59:11 -07:00
2007-07-11 16:02:11 -07:00
2007-04-27 14:23:33 +03:00
2007-05-31 11:03:27 +02:00