Re: stat very inefficient

From: viro
Date: Wed Jul 28 2004 - 13:08:49 EST


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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/