Re: [PATCH net-next] modules: allow modprobe load regular elf binaries

From: Alexei Starovoitov
Date: Thu Mar 22 2018 - 18:22:22 EST


On 3/22/18 3:15 PM, Andy Lutomirski wrote:
On Thu, Mar 22, 2018 at 8:54 PM, Luis R. Rodriguez <mcgrof@xxxxxxxxxx> wrote:
If we can ensure that these usermode modules don't take *any time at all* on
their init *from the start*, it would be wonderful and we'd end up avoiding
some really odd corner case issues later.


I don't see why this issue needs to exist at all for the new stuff.
After all, the new things aren't usermode modules per se. They're
regular kernel code (modular or otherwise) that loads a usermode
helper. All we need to do is to make sure that, if this is
distributed as a module, that it's init routine doesn't wait for a
long time, right?

I've implemented all of the previous suggestions and
now there are zero changes to kernel/module.c
I still need to finish tracpoint stuff first and polish umh code a bit
before sending new version.
Let's hold on this thread until then.