Re: udev loops eating 100 % CPU [mmotm 2010-05-21-16-05]

From: Sedat Dilek
Date: Wed May 26 2010 - 05:18:22 EST


[ Please CC me - I am not subscribed to LKML ]

Hi Christoph,

can you comment on why Eric's patch is "disgusting"?
Any other solutions or fixes around?

Kind Regards,
- Sedat -


Date Tue, 25 May 2010 08:28:27 -0400
>From Christoph Hellwig <>
Subject Re: udev loops eating 100 % CPU [mmotm 2010-05-21-16-05]

On Tue, May 25, 2010 at 08:22:12AM -0400, Eric Paris wrote:
> On Tue, 2010-05-25 at 14:12 +0200, Jiri Slaby wrote:
>
> thanks for the report, it's a known problem:
>
> http://lkml.org/lkml/2010/5/22/150
>
> Not sure yet how we are going to fix it. You can either just revert or
> you could run this patch which I am using on my box. Not sure which Al
> is going to want to do......
>
> commit 6e066d6c0c70e2032b5fd2b5c6375e66a0f547f9
> Author: Eric Paris <eparis@xxxxxxxxxx>
> Date: Tue May 25 07:55:46 2010 -0400
>
> anon_inode/ioctl: push FIONREAD for anon_inode to the file handler
>
> FIONREAD for all S_IFREG files is handled by file_ioctl but the
> anon_inode_inode is a magic special beast since the inode is shared between
> lots of users. Thus ioctl calls on anon_inode_inode needs to go through
> vfs_inode() instead of trying to shortcut some calls through file_ioctl().
>
> Signed-off-by: Eric Paris <eparis@xxxxxxxxxx>

This one is defintively far too disgusting.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/