I notice that Junio merged my fnmatch-avoidance patch, but I have a few other optimizations that I track in my private tree that I have sent out but probably didn't get much attention. They do matter from a performance angle, even if not as much as avoiding fnmatch did. The first patch is obvious and pretty trivial: just moving lstat() calls up a bit in the call-chain, so that you don't end up unnecessarily doing two lstat() calls after each other. The second patch is the symlink detection rewrite, which avoids a _lot_ of unnecessary lstat calls under some loads by not doing the lstat on the directory path entries over and over for each pathname. It's just a single-deep cache for "last directory seen" and "last symlink seen", and replaces the old code that only cached the last symlink. Diffstat for the combined thing as follows: builtin-apply.c | 2 +- builtin-commit.c | 6 ++- cache.h | 4 ++- diff-lib.c | 10 +++--- read-cache.c | 29 +++++++++++-------- symlinks.c | 82 ++++++++++++++++++++++++++++++++--------------------- unpack-trees.c | 12 +++---- 7 files changed, 84 insertions(+), 61 deletions(-) and while this probably doesn't matter on most loads, the reason I'm re-sending is that I think it's pretty solid and core code. I've been running with both of these patches (and some others) rebased on top of Junio's tree for the last few weeks. Linus -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Andrew Morton | 2.6.22-rc6-mm1 |
| Avi Kivity | [PATCH 002/104] KVM: SMP: Add vcpu_id field in struct vcpu |
| Pavel Machek | Re: suspend2 merge (was Re: [Suspend2-devel] Re: CFS and suspend2: hang in atomic ... |
| Con Kolivas | Re: -mm merge plans for 2.6.23 |
git: | |
| Junio C Hamano | What's cooking in git.git (topics) |
| Pazu | qgit on Mac OS X |
| Junio C Hamano | Re: [PATCH] Deprecate git-lost-found |
| Steffen Prohaska | Re: CVS -> SVN -> Git |
| Richard Stallman | Real men don't attack straw men |
| Siju George | Dell Latitude D820 |
| Lars Noodén | Call for testing - uvideo(4) |
| peter | ntpd not synching |
| Stephen Pierce | SLS |
| Dave `geek' Gymer | WARNING (was Re: New afio release) |
| Theodore Ts'o | Re: Splitting comp.os.linux |
| Goetz Schuchart | Re: [?] df: cannot read table of mounted filesystems |
| magical mounts | 9 hours ago | Linux kernel |
| Problem in scim in Fedora 9 | 10 hours ago | Linux general |
| The new Western Digital power saving drives | 10 hours ago | Hardware |
| Battery Maximizer Software | 1 day ago | Linux kernel |
| windows folder creation surprise | 1 day ago | Windows |
| Firewall | 1 day ago | OpenBSD |
| IP layer send packet | 2 days ago | Linux kernel |
| dtrace for linux available | 2 days ago | Linux kernel |
| Unable to mount ramdisk image using UBoot while upgrading to 2.6.15 kernel for a MPC8540 based target | 3 days ago | Linux kernel |
| RealTek RTL8169 - can't connect | 3 days ago | NetBSD |
