Re: textsearch in module = BUG: scheduling while atomic

From: Jiri Slaby
Date: Mon Nov 05 2007 - 09:02:55 EST


On 11/04/2007 11:57 PM, Felipe Dias wrote:
> I change the algo, from "bm" to "kmp" and probably resolve. I will
> make more tests and if error occour i post latter...

Anyway, you should do what I suggested before -- pass 0 instead of TS_AUTOLOAD.
If somebody doesn't have kmp module loaded it will spit out the warnings again,
because the kernel will try to load it (and it's not atomic operation).

regards,
--
Jiri Slaby (jirislaby@xxxxxxxxx)
Faculty of Informatics, Masaryk University
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/