Re: [PATCH] modules: add support for soft module dependencies

From: Herbert Xu
Date: Wed Jul 24 2013 - 22:03:52 EST


On Thu, Jul 25, 2013 at 09:32:02AM +0930, Rusty Russell wrote:
> Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> writes:
> > Hi Rusty:
> >
> > I don't know why this patch never went into the kernel, even
> > though the corresponding features have been added to modprobe
> > in most if not all distros.
>
> Because Andreas never sent me the patch? This is the first I've *heard*
> of this feature. Looks like it didn't hit lkml either. And what was
> 2/2?

2/2 was the patch to actually use this in crc32c.

> It's not how I would have done this: post-deps are more flexibly done at
> runtime, because the module may have to do work to figure out what to
> pull in. But since it already exists, I'll apply this patch: it doesn't
> cost the kernel anything.
>
> And I've fixed the example, so we know how to list multiple modules!

Thanks!
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
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/