This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nss/22078] nss_files performance issue in multi mode


https://sourceware.org/bugzilla/show_bug.cgi?id=22078

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, release/2.26/master has been updated
       via  05155f0772a4befcc10da16ab64060ae7836ff7c (commit)
       via  13728f56f0cdfff536fe6673eae6881a3483a6a2 (commit)
       via  5ebb81e29243ff286bd46dea62fab46a40dfd6c3 (commit)
      from  f725563967c1f277e0f02bb1516fe9ebfa4737bf (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=05155f0772a4befcc10da16ab64060ae7836ff7c

commit 05155f0772a4befcc10da16ab64060ae7836ff7c
Author: Florian Weimer <fweimer@redhat.com>
Date:   Thu Oct 19 10:44:31 2017 +0200

    nss_files: Avoid large buffers with many host addresses [BZ #22078]

    The previous implementation had at least a quadratic space
    requirement in the number of host addresses and aliases.

    (cherry picked from commit d8425e116cdd954fea0c04c0f406179b5daebbb3)

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=13728f56f0cdfff536fe6673eae6881a3483a6a2

commit 13728f56f0cdfff536fe6673eae6881a3483a6a2
Author: Florian Weimer <fweimer@redhat.com>
Date:   Wed Oct 11 07:01:34 2017 +0200

    nss_files: Use struct scratch_buffer for gethostbyname [BZ #18023]

    (cherry picked from commit 78e806fd8cd8c918d3bbe1bcdf9091ab365e4a69)

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5ebb81e29243ff286bd46dea62fab46a40dfd6c3

commit 5ebb81e29243ff286bd46dea62fab46a40dfd6c3
Author: Florian Weimer <fweimer@redhat.com>
Date:   Tue Oct 10 11:50:41 2017 +0200

    nss_files: Refactor gethostbyname3 multi case into separate function

    This is in preparation of further cleanup work.

    (cherry picked from commit 8ed70de2faceb4bd7b35bbdc2b7e8c83d9a297ba)

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                       |   22 +++
 NEWS                            |    1 +
 nss/Makefile                    |    2 +
 nss/nss_files/files-hosts.c     |  400 +++++++++++++++++++++------------------
 nss/tst-nss-files-hosts-multi.c |  331 ++++++++++++++++++++++++++++++++
 5 files changed, 568 insertions(+), 188 deletions(-)
 create mode 100644 nss/tst-nss-files-hosts-multi.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]