Re: Something is broken in repack
- From
- David Miller <davem@davemloft.net>
- Date
- Dec 12, 2007, 16:42 UTC
- Message-ID
- <20071212.084212.02518392.davem@davemloft.net>
- In-Reply-To
- <alpine.LFD.0.9999.0712120826440.25032@woody.linux-foundation.org>
From: Linus Torvalds <torvalds@linux-foundation.org> Date: Wed, 12 Dec 2007 08:37:10 -0800 (PST)
> I'm not saying that particular case happens in git, I'm just saying that > it's not unheard of. And with the delta cache and the object lookup, it's > not at _all_ impossible that we hit the "allocate in one thread, free in > another" case!
One thing that supports these theories is that, while running these large repacks, I notice that the RSS is roughly 2/3 of the amount of virtual address space allocated.
I personally don't think it's unreasonable for GIT to have it's own customized allocator at least for certain object types.