Re: unusual scheduling performance

From: Davide Libenzi (davidel@xmailserver.org)
Date: Mon Nov 18 2002 - 13:34:23 EST


On Mon, 18 Nov 2002, Andrew Morton wrote:

> 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");
> +

Andrew, if you don't use epoll there's no way you get there. The function
eventpoll_file_init() initialize the list at each file* init in
fs/file_table.c
If you're not using epoll and you get there, someone is screwing up the
data inside the struct file

- Davide

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



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:23 EST