]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] cond_resched_lock() fix
authorJan Kara <jack@suse.cz>
Mon, 13 Jun 2005 22:52:32 +0000 (15:52 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 14 Jun 2005 03:58:58 +0000 (20:58 -0700)
commit3daff2f0aebde0d9ce57471c3920cbe0e37e4368
tree50550e3863513ac051164abc082e2899d61d4dab
parentb0ae4b665f6ff55a01dbe89dfaed2beaf608aed4
[PATCH] cond_resched_lock() fix

On one path, cond_resched_lock() fails to return true if it dropped the lock.
We think this might be causing the crashes in JBD's log_do_checkpoint().

Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/sched.c