Re: [PATCH] kill symbol_get & friends

From: Richard Purdie
Date: Sun Jan 16 2005 - 15:48:49 EST


Rusty Russell:
If it really wants dynamic symbol lookup, that's damn well what's going
to happen. intermodule must die. If David doesn't want that feature
any more, then sure, remove it.

I can see one scenario where symbol_get would appear to be useful. Say you have two modules A and B. Both can run independently of the other. If and only if both are loaded at the same time they need to exchange data.

Without symbol_get, you can only have hard dependencies between the modules and hence you would be forced into loading both modules even if you only want one of them.

I came across this function when trying to solve this exact problem. If the function is going to be removed, what is the alternative? Apologies if I've missed something obvious...

Richard

-
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/