Re: [PATCH v3 0/4] limit number of cat and sed forks

Eric Blake <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.patches
Organization Red Hat, Inc.
Message-ID <[email protected]>
On 11/05/2016 04:16 AM, Paolo Bonzini wrote:
> 
> 
> On 04/11/2016 03:37, Eric Blake wrote:
>> Work in progress, because I still have to review patches 2 and 3
>> from Paolo's v2. (Patch 3 can probably be used as-is; patch 2
>> will probably necessitate the same changes to CHECK_DECLS_ONCE for
>> honoring AC_LANG and reworking the shell list variable to hold
>> tuples as I do here for CHECK_FUNCS_ONCE).
>>
>> The end result is the same number of processes shaved as in Paolo's
>> v2 patch 1/3, but now the code is no longer subject to subtle
>> semantic differences (the ONCE functions are still checked in the
>> same sequence in relation to the rest of configure as before), and
>> the configure script does not grow quite as large (on coreutils,
>> Paolo's cost about 17k, my approach cost about 2k).
>>
>> Eric Blake (3):
>>   AC_CHECK_FUNCS_ONCE: honor current AC_LANG
>>   AC_CHECK_FUNCS_ONCE: hoist CPP name computation to m4 time
>>   AC_CHECK_FUNCS_ONCE: hoist cache name computation to m4 time
>>
>> Paolo Bonzini (1):
>>   autoconf: prefer an unrolled loop for trivial AC_CHECK_FUNCS
>>
>>  NEWS                      |  4 ++++
>>  lib/autoconf/functions.m4 | 60 +++++++++++++++++++++++++++++++++--------------
>>  2 files changed, 47 insertions(+), 17 deletions(-)
>>
> 
> 
> Looks good, thanks!

Apologies for sitting on this for over a month, but I finally had time
to finish the series, and basically duplicated the AC_CHECK_FUNCS*
patches into corresponding AC_CHECK_HEADERS* versions, and pushed the
result.

Thanks again for your initial investigation on how to reduce some of the
fork expense of configure files.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc (application/pgp-signature, 604 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJYWpMCAAoJEKeha0olJ0NqctsH/jBe63HGlJgFHifgoF2YmzS6
Io2kuIOXw7MhfAg6f18iXToFPfvlHlKDXAJ/kMWDkvmbEeaZD1Q3QezLZ49TxLrV
PKKbPBW0zdYGVWxt2kS6dSHwnSknzgjjC53w4eghXaNubtYnuqmR4dkVj+p/vevm
6p6adJwoNDxmCOEGKBMDh1DHhagoPVCQ8hqSuyrcVM0NjlSdPweLJ1CZbChGPT6H
MyO6z+KQbsJCH4Xz3dFiucUmVtIozW03Czs/SKTUp+WvGxdxjbqmCznxk/2V+W5r
D6fS4oSh05lkkz9XXMRVhDCFJNu5EXCZ6qc64ooixGMLzyi3+UtyKDaV3F+bK7M=
=D7XJ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.