lkml.org 
[lkml]   [2007]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: textsearch in module = BUG: scheduling while atomic
I change the algo, from "bm" to "kmp" and probably resolve. I will
make more tests and if error occour i post latter...

Thanks so much.
Felipe Dias

On 11/4/07, Jiri Slaby <jirislaby@gmail.com> wrote:
> On 11/04/2007 11:16 PM, Jiri Slaby wrote:
> > On 11/04/2007 11:05 PM, Felipe Dias wrote:
> >> Ow sorry... the warning:
> >>
> >> BUG: scheduling while atomic: gnome-cups-icon/0x00000101/3827
> >> [<c02aefe6>] __sched_text_start+0x56/0x7c8
> >> [<c0130139>] autoremove_wake_function+0x14/0x33
> >> [<c0119284>] __wake_up_common+0x35/0x53
> >> [<c01197f6>] __wake_up+0x32/0x43
> >> [<c02af847>] wait_for_completion+0x6a/0x9f
> >> [<c011b6ae>] default_wake_function+0x0/0xc
> >> [<c012cdff>] call_usermodehelper_keys+0xad/0xc5
> >> [<c012ceec>] request_module+0xd5/0xe6
> >
> > Seems like it is not inteded for using in atomic at all (you probably passed an
> > unknown algo here to the prepare function). You seem to have to use a workqueue
> > if it is possible or prepare the serach before the interrupt occurs.
>
> Or pass 0 instead of TS_AUTOLOAD.
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-11-04 23:59    [from the cache]
©2003-2011 Jasper Spaans