* module cleanup (0/5)
@ 2002-08-06 22:50 Roman Zippel
0 siblings, 0 replies; only message in thread
From: Roman Zippel @ 2002-08-06 22:50 UTC (permalink / raw)
To: linux-kernel, torvalds
Hi,
I will shortly send a few patches that cleanup the module code a bit.
All patches are independent. Please apply.
1. Replace get_mod_name/put_mod_name with getname/putname.
2. Make the various query functions more compact, by removing the second
loop to calculate the required space and integrating it into the main
loop.
3. Remove __MODULE_STRING() in favour of __stringify().
4. Introduce two macros mod_for_each_locked/mod_for_done_locked to safely
iterate over the module list.
5. Remove obsolete get_kernel_syms system call.
The first 3 changes are trivial.
Patch 4 unifies all the code which loops over the module from an exception
context, so all that code now does correct locking.
get_kernel_syms is not used by modutils anymore. AFAIK get_kernel_syms is
only used by klogd and works fine without it.
bye, Roman
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-08-06 22:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-06 22:50 module cleanup (0/5) Roman Zippel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®