Re: [2.6.34-git8][regression] massive polling problems with udevdand other processes

From: walt
Date: Sat May 22 2010 - 17:10:34 EST

On 05/22/2010 01:44 PM, Al Viro wrote:
On Sat, May 22, 2010 at 01:21:19PM -0700, walt wrote:
On 05/22/2010 12:35 PM, Shawn Starr wrote:
Just built today's snapshot from linus's tree and have problems with udev
using 100% cpu and KDE processes also pegging cpus.

This is with Fedora 13 + snapshot kernel from git.

Anyone else noticing this?

Yes, just bisected it to this:

commit a7cf4145bb86aaf85d4d4d29a69b50b688e2e49d
Author: Eric Paris<eparis@>
Date: Fri May 14 11:44:10 2010 -0400

anon_inode: set S_IFREG on the anon_inode

Cute... Frankly, I'd be fine with just reverting that one and teaching
selinux to STFU. However, I wonder what specifically is getting polled.
Which anon_inode users?

Does anybody have strace handy?

I included only one of thousands of identical lines from strace of udevd at
the bottom of my previous post:

poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}], 5, -1) = 1 ([{fd=6, revents=POLLIN}])

Let me know if that's not what you need.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at