Keshavamurthy Anil S df019b1d8b [PATCH] kprobes: fix unloading of self probed module
When a kprobes modules is written in such a way that probes are inserted on
itself, then unload of that moudle was not possible due to reference
couning on the same module.

The below patch makes a check and incrementes the module refcount only if
it is not a self probed module.

We need to allow modules to probe themself for kprobes performance
measurements

This patch has been tested on several x86_64, ppc64 and IA64 architectures.

Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-11 18:42:12 -08:00
..
2006-01-08 20:13:48 -08:00
2006-01-06 08:33:49 -08:00
2006-01-08 20:13:48 -08:00
2005-10-28 08:16:49 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-10 08:01:39 -08:00
2005-10-30 17:37:32 -08:00
2005-10-08 15:00:57 -07:00
2005-10-30 17:37:17 -08:00
2006-01-10 08:01:37 -08:00
2006-01-09 15:59:19 -08:00
2006-01-06 08:33:53 -08:00
2006-01-08 20:13:40 -08:00
2006-01-08 20:13:52 -08:00
2005-07-07 18:23:46 -07:00
2005-04-16 15:20:36 -07:00
2005-09-10 10:06:21 -07:00
2006-01-08 20:14:09 -08:00
2006-01-10 08:01:39 -08:00
2005-04-16 15:20:36 -07:00
2005-07-12 20:38:38 -07:00
2005-04-16 15:20:36 -07:00