Re: stat very inefficient

From: David S. Miller
Date: Wed Jul 28 2004 - 17:58:46 EST


On Thu, 29 Jul 2004 08:33:59 +1000
Peter Chubb <peter@xxxxxxxxxxxxxxxxxx> wrote:

> But is stat{,64} actually showing up badly in profiles?
> If it's not I don't think it's worth doing *anything* (I can imagine
> loads where it would, e.g., make on a large sourcetree, or running a
> backup)

"find . -type f" is probably the most often run command somewhere
in a shell pipeline when I'm doing kernel work and grepping
around.
-
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/