* [BUG?] inquiry_cache_read: stack size
@ 2010-03-08 22:38 Luca Tettamanti
2010-03-08 23:55 ` Randy Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: Luca Tettamanti @ 2010-03-08 22:38 UTC (permalink / raw)
To: Marcel Holtmann; +Cc: linux-kernel
Hi Marcel,
I'm compiling current -git kernel and noticed this warning:
net/bluetooth/hci_sysfs.c: In function 'inquiry_cache_read':
net/bluetooth/hci_sysfs.c:441: warning: the frame size of 4208 bytes is larger than 2048 bytes
which is caused by:
commit ca325f698996c1a0770a67f41e7dc97a007d8bc2
Author: Marcel Holtmann <marcel@holtmann.org>
Date: Mon Feb 8 16:22:31 2010 +0100
Bluetooth: Convert inquiry cache to use debugfs instead of sysfs
The output of the inquiry cache is only useful for debugging
purposes and so move it into debugfs.
This buffer on the stack:
char buf[4096];
is likelly to cause troubles, since the kernel space stack is limited to
8K or even 4K (4KSTACKS).
Luca
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [BUG?] inquiry_cache_read: stack size
2010-03-08 22:38 [BUG?] inquiry_cache_read: stack size Luca Tettamanti
@ 2010-03-08 23:55 ` Randy Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2010-03-08 23:55 UTC (permalink / raw)
To: Luca Tettamanti; +Cc: Marcel Holtmann, linux-kernel
On 03/08/10 14:38, Luca Tettamanti wrote:
> Hi Marcel,
> I'm compiling current -git kernel and noticed this warning:
>
> net/bluetooth/hci_sysfs.c: In function 'inquiry_cache_read':
> net/bluetooth/hci_sysfs.c:441: warning: the frame size of 4208 bytes is larger than 2048 bytes
>
> which is caused by:
>
> commit ca325f698996c1a0770a67f41e7dc97a007d8bc2
> Author: Marcel Holtmann <marcel@holtmann.org>
> Date: Mon Feb 8 16:22:31 2010 +0100
>
> Bluetooth: Convert inquiry cache to use debugfs instead of sysfs
>
> The output of the inquiry cache is only useful for debugging
> purposes and so move it into debugfs.
>
> This buffer on the stack:
>
> char buf[4096];
>
> is likelly to cause troubles, since the kernel space stack is limited to
> 8K or even 4K (4KSTACKS).
Patch was on netdev mailing list on TUE Mar. 2, 2010.
Please see http://www.spinics.net/lists/netdev/msg122906.html
--
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-08 23:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-08 22:38 [BUG?] inquiry_cache_read: stack size Luca Tettamanti
2010-03-08 23:55 ` Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).