Re: [PATCH+discussion] symlink recursion

From: David S. Miller (davem@redhat.com)
Date: Wed Jun 19 2002 - 17:06:06 EST


   From: David Mosberger <davidm@napali.hpl.hp.com>
   Date: Wed, 19 Jun 2002 12:14:01 -0700
   
   on ia-64, I see the following (2.4.18, with gcc3.1):
   
           - ext2_follow_link(): 16 bytes/frame
           - vfs_follow_link(): 56 bytes/frame
           - link_path_walk(): 128 bytes/frame
           --------------------- ---------------
           total: 200 bytes/frame
   
   Just about in line with what you'd expect given that registers are
   64 bits.

On sparc64 the situation is much worse (due to register windows)
which means any non-leaf function (function which invokes no nother
functions) equals 192 bytes of stack space per frame minimum.

-
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/



This archive was generated by hypermail 2b29 : Sun Jun 23 2002 - 22:00:20 EST