[PATCH] Fix kallsyms/insmod/rmmod race

Rusty Russell rusty at rustcorp.com.au
Tue Jan 18 13:20:03 EST 2005


On Mon, 2005-01-17 at 16:27 +0000, David Howells wrote:
> The attached patch fixes a race between kallsyms and insmod/rmmod.

Hi David,

	The more I looked at this, the more I warmed to it.  I've known for a
while that people are using kallsyms not for OOPS (eg. /proc/$$/wchan),
so we should provide a "grabs locks" version, but this solution gets
around that nicely, while making life more certain for the oops case,
too.

Good work!
Rusty.
-- 
A bad analogy is like a leaky screwdriver -- Richard Braakman




More information about the Linuxppc64-dev mailing list