Re: Linux v2.5.43

John Levon (levon@movementarian.org)
Wed, 16 Oct 2002 15:57:28 +0100


On Tue, Oct 15, 2002 at 08:44:10PM -0700, Linus Torvalds wrote:

> John Levon <levon@movementarian.org>:
> o oprofile - core

Note that anybody actually wanting to use the thing needs an additional
fix like the below, or most of the samples end up being dropped on the
floor.

Matthew, can we submit the proper fix (using cond_resched ?) at some
point ?

thanks
john

--- linux-linus/fs/locks.c Sat Sep 28 15:56:28 2002
+++ linux/fs/locks.c Wed Oct 2 04:15:54 2002
@@ -727,11 +727,11 @@
}
unlock_kernel();

- if (found)
- yield();
-
if (new_fl->fl_type == F_UNLCK)
return 0;
+
+ if (found)
+ yield();

lock_kernel();
for_each_lock(inode, before) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/