Re: Kernel SCM saga..

From: H. Peter Anvin
Date: Fri Apr 08 2005 - 00:17:40 EST


Followup to: <20050408050458.GB8720@xxxxxxxxxxxxxxxxxxxxx>
By author: Chris Wedgwood <cw@xxxxxxxx>
In newsgroup: linux.dev.kernel
>
> On Thu, Apr 07, 2005 at 09:42:04PM -0700, Linus Torvalds wrote:
>
> > Yes. The silly thing is, at least in my local tests it doesn't
> > actually seem to be _doing_ anything while it's slow (there are no
> > system calls except for a few memory allocations and
> > de-allocations). It seems to have some exponential function on the
> > number of pathnames involved etc.
>
> I see lots of brk calls changing the heap size, up, down, up, down,
> over and over.
>
> This smells a bit like c++ new/delete behavior to me.
>

Hmmm... can glibc be clued in to do some hysteresis on the memory
allocation?

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/