[PATCH] Speed up modprobe and MAKEDEV

Jon Masters jonathan at jonmasters.org
Mon Oct 13 13:52:17 UTC 2008


On Wed, 2008-10-01 at 13:20 -0400, Kyle McMartin wrote:
> On Wed, Oct 01, 2008 at 06:52:15PM +0200, Jakub Jelinek wrote:
> > Given the recent 5sec boot efforts http://lwn.net/Articles/299483/
> > and Mandriva follow-ups on that http://lwn.net/Articles/300873/,
> > I thought I'd share my modprobe and MAKEDEV speedup patches with
> > a wider community so folks can experiment with them, especially seeing
> > Mandriva folks playing with turning modprobe into a daemon because of its
> > slowness.

> Have you tested things on a big endian machine? In any case, this looks
> really good. Hopefully Jon will apply this upstream soon so we can get
> it in F10.

So I've added an alternative patch from Alan Jenkins to the current git
and in rawhide today, also using a binary index (there's no version info
embedded right now however that is about to be fixed in a later patch).
I think my plan right now is to profile this against Jakub's patch and
pick the winner. So there might be a few more changes this week :)

Jon.





More information about the devel mailing list