From: Artem Bityutskiy Date: Tue, 19 Dec 2006 13:45:23 +0000 (+0200) Subject: [JFFS2] add cond_resched() when garbage collecting deletion dirent X-Git-Tag: v2.6.20-rc6~47^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aba54da3d05e910199ea8255992c244c9abadd91;p=pandora-kernel.git [JFFS2] add cond_resched() when garbage collecting deletion dirent We observe soft lockups when doing heavy test which creates directory with a lot of direntries and deletes them. This cycle is the reason fo this. Make it nicer and add cond_resched() inside of it. Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed