bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new module 'ssfmalloc'


From: Bruno Haible
Subject: Re: new module 'ssfmalloc'
Date: Sun, 25 Oct 2020 18:21:11 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-189-generic; KDE/5.18.0; x86_64; ; )

> This patch adds a new module 'ssfmalloc', a "simple and straight-forward 
> memory
> allocation" facility.

This sets of patches fixes portability issues and does small improvements.


2020-10-25  Bruno Haible  <bruno@clisp.org>

        ssfmalloc tests: Small tweaks.
        * tests/test-ssfmalloc.c: Add comments.
        (alloc_pages): Don't require PROT_EXEC bits.
        (block_sizes): Add more small sizes, for better coverage of
        ssfmalloc-bitmap.h.

        ssfmalloc tests: Portability to Minix.
        * modules/ssfmalloc-tests (Files): Add m4/mmap-anon.m4.
        (configure.ac): Invoke gl_FUNC_MMAP_ANON.
        * m4/mmap-anon.m4: Update comment.

        ssfmalloc: Portability to AIX.
        * modules/ssfmalloc (Include): Add ssfmalloc.h.
        (Link): New section.
        * modules/ssfmalloc-tests (Makefile.am): Link test-ssfmalloc with
        $(LIBTHREAD).

        ssfmalloc: Portability to Cygwin.
        * lib/ssfmalloc.h: Add parameter PAGESIZE_MAX.
        (pg_offset_t): Define depending on PAGESIZE_MAX.
        * tests/test-ssfmalloc.c: Undefine PAGESIZE.
        (PAGESIZE_MAX): New macro.

        ssfmalloc: Fix buffer overrun in bitmap search.
        * lib/ssfmalloc-bitmap.h (find_first_packet_set): Don't access the
        word *words_end.

Attachment: 0001-ssfmalloc-Fix-buffer-overrun-in-bitmap-search.patch
Description: Text Data

Attachment: 0002-ssfmalloc-Portability-to-Cygwin.patch
Description: Text Data

Attachment: 0003-ssfmalloc-Portability-to-AIX.patch
Description: Text Data

Attachment: 0004-ssfmalloc-tests-Portability-to-Minix.patch
Description: Text Data

Attachment: 0005-ssfmalloc-tests-Small-tweaks.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]