lkml.org 
[lkml]   [1999]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: how much stack space can I use
Keith Owens wrote:
> Anybody looking at stack usage might find this script useful, it can
> also be found in ftp://ftp.ocs.com.au/pub/kernel.stack.gz. It taks a
> while to run, mainly because objdump --disassemble of everything takes
> a while. Some interesting results from 2.2.23 :-
>
> 7c4 ncr53c8xx_detect
> 824 dvd_read_disckey
> 824 dvd_read_manufact
> 914 mmc_ioctl
>
Have you noticed "nfs_sillyrename" in fs/nfs/dir.c?
I think these "const int" variables should be replaced with #defines.
egcs-1.12 generates a dynamic stack allocation, it's totally superfluous
(everything is known at compile time).

--
Manfred

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.069 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site