Re: [PATCH] Speedup recursive by flushing index only once for all entries
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Jan 11, 2007, 17:43 UTC
- Message-ID
- <81b0412b0701110943s274bfbcbkfea0fcb294ccb820@mail.gmail.com>
- In-Reply-To
- <Pine.LNX.4.64.0701110823300.3594@woody.osdl.org>
On 1/11/07, Linus Torvalds <torvalds@osdl.org> wrote:
> That said, I think we actually have another problem entirely: > > Look at "write_cache()", Junio: isn't it leaking memory like mad?
Unless it is used in some corner case not covered by tests - it looks like it does leak memory like mad. With the patch the memory usage for 44k-merge is more than halved!