lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 04 Nov 2007 23:19:55 +0100
From:	Jiri Slaby <jirislaby@...il.com>
To:	Felipe Dias <felipediassss@...il.com>
CC:	linux-kernel@...r.kernel.org
Subject: Re: textsearch in module = BUG: scheduling while atomic

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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ