Greg KH wrote:
On Mon, Oct 22, 2012 at 04:40:23PM -0500, Larry Finger wrote:
My suggestion is that a special flag be made available, and that the flag be set by any package that needs new initrd files. When all the packages have been installed, then call mkinitrd if the flag is set.
I've seen this a lot as well. But why isn't anyone trying to solve the root problem here, why does mkinitrd take so long? It didn't used to do this for 12.1, what changed to cause it to suck up CPU time?
It's not a case of a 'root' problem, though, is it? What you're saying is that there are two separate, independent problems: (1) mkinitrd is being called repeatedly when it only needs to be called once. (2) mkinitrd has had a performance regression between 12.1 and 12.2 Larry's suggestion seems like a good fix for problem (1) that could be coded now. Problem (2) needs somebody to verify that there is a significant difference between 12.1 and 12.2 and then identify the cause either by code inspection or bisecting commits. Then somebody needs to see whether there is a reasonable fix. Maybe a bugzilla would start the process. So it seems like (2) has a significantly greater time to repair than (1), which would be another reason to fix (1) now. -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org