commit-hurd
[Top][All Lists]
Advanced

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

[SCM] Hurd branch, master, updated. v0.9.git20210404-12-gec5632b


From: Samuel Thibault
Subject: [SCM] Hurd branch, master, updated. v0.9.git20210404-12-gec5632b
Date: Thu, 6 May 2021 18:14:01 -0400 (EDT)

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 "Hurd".

The branch, master has been updated
       via  ec5632b9ba7fe4666307e7210245f3aa2f25de88 (commit)
       via  93023e79f28a85b5e3f2a05c95b49719b3f72bb1 (commit)
       via  9dfc92959856e660c73c1b4d92d4b1e5e3f98b76 (commit)
      from  7b3815d91a49672864ad3cb2515eba01320d8360 (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 -----------------------------------------------------------------
commit ec5632b9ba7fe4666307e7210245f3aa2f25de88
Author: Sergey Bugaev <bugaevc@gmail.com>
Date:   Thu May 6 15:56:31 2021 +0300

    libpager: Use libc heap for pagemap
    
    libc already implements the functionality for allocating and managing
    memory blocks like the pagemap. Using libc functions gives us some
    additional niceties like overflow checking in reallocarray (). it also
    means that we will not allocate a whole page of memory if we need to
    store just a few integers.
    Message-Id: <20210506125631.79117-7-bugaevc@gmail.com>

commit 93023e79f28a85b5e3f2a05c95b49719b3f72bb1
Author: Sergey Bugaev <bugaevc@gmail.com>
Date:   Thu May 6 15:56:30 2021 +0300

    libpager: Fix overallocating pagemap
    
    The code tried to round up the allocation size to a multiple of page size.
    But we actually allocate newsize * sizeof (*p->pagemap) bytes, not newsize
    bytes, which meant allocations were sizeof (*p->pagemap) times larger than
    they needed to be.
    Message-Id: <20210506125631.79117-6-bugaevc@gmail.com>

commit 9dfc92959856e660c73c1b4d92d4b1e5e3f98b76
Author: Sergey Bugaev <bugaevc@gmail.com>
Date:   Thu May 6 15:56:29 2021 +0300

    libpager: Store pagemapsize as vm_size_t
    
    On a 64-bit system, there can be a lot more pages
    than a 32-bit int can fit.
    Message-Id: <20210506125631.79117-5-bugaevc@gmail.com>

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

Summary of changes:
 libpager/object-terminate.c |  5 +++--
 libpager/pagemap.c          | 27 ++++++++++-----------------
 libpager/priv.h             |  2 +-
 3 files changed, 14 insertions(+), 20 deletions(-)


hooks/post-receive
-- 
Hurd



reply via email to

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