[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug #15384] find misbehaves when parent directory is not readable
From: |
Jim Meyering |
Subject: |
Re: [bug #15384] find misbehaves when parent directory is not readable |
Date: |
Fri, 24 Aug 2007 10:00:48 +0200 |
"James Youngman" <address@hidden> wrote:
> On 8/22/07, Eric Blake <address@hidden> wrote:
>> At this point, since we are about to create a stable 4.4 branch where the
>> fts()-based find works, do we still need to worry about the home-grown
>> oldfind, which still has the bug?
>
> Yes, for the time being, I think so. I believe that last time I
> measured it, the fts() based version was measurably slower. But the
> outstanding bug is problematic.
Hi James,
When you measured that, did the system you used have sufficient
openat support? If not, you probably saw the performance penalty of
the openat/fstatat/etc. wrapper functions that simulate the syscalls --
probably via /proc/self/fd/%d/%s. If you run timings on a losing
kernel/libc combination, you should expect a performance penalty.
Jim