Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2012 14:13:40 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        bf1783@gmail.com
Cc:        freebsd-current@FreeBSD.org, Peter Jeremy <peter@rulingia.com>, "b. f." <bf1783@googlemail.com>
Subject:   Re: "make delete-old" performance.
Message-ID:  <4FB4EB74.5040009@FreeBSD.org>
In-Reply-To: <CAGFTUwPeOGgBqUt2gfeyvYr6W33hu1TQQBekj9_sVpmT7XoT_w@mail.gmail.com>
References:  <CAGFTUwPeOGgBqUt2gfeyvYr6W33hu1TQQBekj9_sVpmT7XoT_w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2012-05-17 05:18, b. f. wrote:...
> The slowdown is probably due - at least in part - to two factors:
> 
> - the list of files to be checked for removal has grown substantially,
> because missing entries for old knobs and new entries for new knobs
> have been added; and
> 
> - a new (and slower) method of checking was added in:
> http://svnweb.FreeBSD.org/base?view=revision&revision=220255
> because the old method broke down with the size of the new lists of files.

Hm, maybe it would have been better to fix make, so it can accept
arbitrarily long lists, without segfaulting?  There's such a thing as
malloc(), and I simply don't believe any of those lists could be larger
than a few hundred kilobytes.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FB4EB74.5040009>