Re: unusual scheduling performance

Andrew Morton (akpm@digeo.com)
Mon, 18 Nov 2002 10:16:50 -0800


Dave Hansen wrote:
>
> ...
> rwsem_down_write_failed: 133 133

Possible culprit.

Please stick a dump_stack() in rwsem_down_write_failed(), and add the below.
Suggest you stick with 2.5.47 to diagnose this. The loss of kksymoops
is a pain.

fs/eventpoll.c | 2 ++
1 files changed, 2 insertions(+)

--- 25/fs/eventpoll.c~hey Mon Nov 18 10:13:40 2002
+++ 25-akpm/fs/eventpoll.c Mon Nov 18 10:14:01 2002
@@ -328,6 +328,8 @@ void eventpoll_release(struct file *file
if (list_empty(lsthead))
return;

+ printk("hey!\n");
+
/*
* We don't want to get "file->f_ep_lock" because it is not
* necessary. It is not necessary because we're in the "struct file"

_
-
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/