Re: Make the git codebase thread-safe
- From
brian m. carlson <sandals@crustytoothpaste.net>
- Date
- Feb 13, 2014, 01:42 UTC
- Message-ID
- <20140213014229.GE4582@vauxhall.crustytoothpaste.net>
- In-Reply-To
- <CA+TurHgyUK5sfCKrK+3xY8AeOg0t66vEvFxX=JiA9wXww7eZXQ@mail.gmail.com>
On Tue, Feb 11, 2014 at 05:54:51PM -0800, Stefan Zager wrote:
> To this end, I'd like to start submitting patches that make the code > base generally more thread-safe and thread-friendly. Right after this > email, I'm going to send the first such patch, which makes the global > list of pack files (packed_git) internal to sha1_file.c.
I'm definitely interested in this if it also works on POSIX systems. At work, we have a 7.6 GiB repo (packed)[0], so while performance is not bad, I certainly wouldn't object if it were better.
[0] Using du -sh. For comparison, the Linux kernel repo is 1.4 GiB.
-- brian m. carlson / brian with sandals: Houston, Texas, US +1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187