Skip to contentSkip to conversation

put/get_module_symbol vs. inter_module_register/put/get/etc.

DISCUSSION Al Peat 2 participants 2 messages Dec 1, 2000

lore
Share & tools
lore

Al Peat

author
#0 lore raw

I've followed the thread on "Persistent module
storage" but haven't come across a general explanation of the changes to the inter-module symbol stuff between 2.4test10 and test11. Anyone care to comment on the differences or on whether this is going to be a stable API for 2.4 (it won't be changed again)?

__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw
Quoted 6 lines · Al Peat

I've followed the thread on "Persistent module
storage" but haven't come across a general explanation of the changes to the inter-module symbol stuff between 2.4test10 and test11. Anyone care to comment on the differences or on whether this is going to be a stable API for 2.4 (it won't be changed again)?

You are confusing two completely different topics. inter_module_xxx replaced get_module_symbol because the latter was a bad interface, it violated module layering and broke when symbol versions were turned on. inter_module_xxx is clean and stable, it has also been sent to Alan Cox for inclusion in 2.2 kernels, although 2.2 will still have get_module_symbol for backwards compatibility.

Persistent module data is the ability to save module parameters at unload time. It only makes sense for parameters that are changed by users after load, e.g. volume controls, TV tuner settings etc. That facility is almost completely in user space and requires very few changes to modules. Watch this space.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/