Why glibc's fstat() is slow
Why glibc's fstat() is slow
Posted Sep 15, 2023 14:51 UTC (Fri) by hmh (subscriber, #3838)In reply to: Why glibc's fstat() is slow by izbyshev
Parent article: Why glibc's fstat() is slow
Looks like it would be easy enough to fix, if there's a will to do so. In fact, now would be the ideal time to do it, since you also want to ensure any libc that is ported to those arches will try to use the faster syscall instead of the generic one [where available].
I wonder if people looked at what glibc would use when they were bootstrapping these two arches, and decided to not implement the more specialized, less-generic (but faster!) members of the stat family of syscalls because glibc would not use them...
