lkml.org 
[lkml]   [2008]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] xfs: do not pass unused params to xfs_flush_pages
    On Tue, Apr 22, 2008 at 10:57:33AM +0200, Denys Vlasenko wrote:
    > You do not see reduced stack usage in "make checkstack",
    > because "make checkstack" shows only stack usage caused by
    > local variables (it analyses sub %esp,NN instructions which
    > make room for them). Parameters also take up stack, but
    > they are pushed on stack with push instruction,
    > and so are invisible in "make checkstack" output.

    That on i?86 actually depends on whether -maccumulate-outgoing-args
    is on or off (the default is off for -Os and most pre-i686 tunings,
    and on for i686 and most post-i686 tunings when not -Os).

    Jakub


    \
     
     \ /
      Last update: 2008-04-22 12:01    [W:4.110 / U:0.432 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site