Messages in this thread |  | | From | Linus Torvalds <> | Date | Wed, 16 Jan 2013 09:06:54 -0800 | Subject | Re: [PATCH] module, async: async_synchronize_full() on module init iff async is used |
| |
On Wed, Jan 16, 2013 at 9:03 AM, Arjan van de Ven <arjan@linux.intel.com> wrote: > > we can even try twice > > the first time right after we mount the initramfs > the second time when the initramfs code exits, and before we exec init > (the initramfs supposedly mounted the real root fs at this point)
Yes. This, together with "don't try request_module for the default elevator", and the "warn if somebody does request_module from async context" would, I think, be the right thing to do.
In the meantime, I've applied Tejun's patch. It possibly speeds things up regardless of this particular deadlock thing, and while it's not pretty it certainly isn't horribly nasty or very invasive either, so I don't see any reason to delay it just because there might be a better solution some day.
Linus
|  |