gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Re: give us a hand with arch


From: Tom Lord
Subject: Re: [Gnu-arch-users] Re: give us a hand with arch
Date: Sun, 28 Sep 2003 08:17:07 -0700 (PDT)

    > From: Momchil Velikov <address@hidden>

    > >>>>> "Tom" == Tom Lord <address@hidden> writes:
    >     Tom>      A common case cost, however, consists of a 
traversal-with-stat:
    >     Tom>      just stat'ing each source file and reading source 
directories.

    >   FWIW, there's no difference between open(2) and stat(2) (modulo fd
    > allocation) -- both traverse some directories and read an inode.

Perhaps (I assume that fd allocation and inode locking is cheap.)

But that isn't really the comparison.  The comparison is between
traversals that do nothing but stat files and read directories, and
traversals that read dirs, stat files, open files/read some
stuff/close.

-t




reply via email to

[Prev in Thread] Current Thread [Next in Thread]