Re: Analyzed/Solved: Booting 2.6.30-rc2-git7 very slow

From: Martin Knoblauch
Date: Wed Apr 29 2009 - 13:45:29 EST



----- Original Message ----

> From: "Valdis.Kletnieks@xxxxxx" <Valdis.Kletnieks@xxxxxx>
> To: Martin Knoblauch <knobi@xxxxxxxxxxxx>
> Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx>; Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>; Mike Galbraith <efault@xxxxxx>; Rafael J. Wysocki <rjw@xxxxxxx>; linux-kernel@xxxxxxxxxxxxxxx; tigran aivazian <tigran@xxxxxxxxxxxxxxxxxxxx>
> Sent: Wednesday, April 29, 2009 7:35:59 PM
> Subject: Re: Analyzed/Solved: Booting 2.6.30-rc2-git7 very slow
>
> On Wed, 29 Apr 2009 10:24:20 PDT, Martin Knoblauch said:
>
> > One definitely comes from /etc/fstab, but I am not aware of any other script
> mounting sysfs in my userspace.
>
> You said it was a RedHat box?
>
> Look in /etc/rc.sysinit:
>
> mount -n -t sysfs /sys /sys >/dev/null 2>&1
>
> (Near line 28 for RHEL 4, line 23 for RHEL5, and line 21 for Fedora Rawhide)
>
> Probably your culprit.

OK, you got me. But still something changed with 2.6.29. Before, there was only one line in /proc/mounts

Cheers
Martin

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