Re: stat very inefficient

viro
2004-07-28T18:07:22Z

On Tue, Jul 27, 2004 at 08:13:01PM -0700, David S. Miller wrote:

> I was about to make sparc64 specific copies of all the stat
> system calls in order to optimize this properly. But that
> makes little sense, instead I think fs/stat.c should call
> upon arch-specific stat{,64} structure fillin routines that
> can do the magic, given a kstat struct.
>
> Comments?

I'm not sure that it's worth doing for anything below the "widest" version
of stat. For that one - yeah, no objections.