From: Rusty Russell Date: Sat, 7 Feb 2009 07:45:56 +0000 (+1030) Subject: module: remove over-zealous check in __module_get() X-Git-Tag: v2.6.29-rc4~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f9a50a5b89b87f8e754f59ae9968da28be618a5;p=pandora-kernel.git module: remove over-zealous check in __module_get() Impact: fix spurious BUG_ON() triggered under load module_refcount() isn't reliable outside stop_machine(), as demonstrated by Karsten Keil , networking can trigger it under load (an inc on one cpu and dec on another while module_refcount() is tallying can give false results, for example). Almost noone should be using __module_get, but that's another issue. Cc: Karsten Keil Signed-off-by: Rusty Russell Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed