commit-hurd
[Top][All Lists]
Advanced

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

[SCM] Hurd branch, master, updated. v0.5-497-g9cd99ff


From: Justus Winter
Subject: [SCM] Hurd branch, master, updated. v0.5-497-g9cd99ff
Date: Mon, 24 Nov 2014 00:07:56 +0000

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  9cd99ff80c3c129ed137e0d22b7e438f292e5e8f (commit)
       via  b3fcdc50024b3837a76cd854d02a940dac2e5dc3 (commit)
      from  25fe9cb62331d609b87b9d0b1db06d06ab825d16 (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 9cd99ff80c3c129ed137e0d22b7e438f292e5e8f
Author: Justus Winter <address@hidden>
Date:   Sun Nov 23 20:13:30 2014 +0100

    libdiskfs: fix fabrication of protid
    
    * libdiskfs/dir-init.c (diskfs_init_dir): Fix fabrication of protid.

commit b3fcdc50024b3837a76cd854d02a940dac2e5dc3
Author: Justus Winter <address@hidden>
Date:   Sun Nov 23 18:11:30 2014 +0100

    libpager: make the request queue more memory-efficient
    
    Previously, `pager_demuxer' allocated a chunk of memory for the
    response message.  But if memory gets scarce, the kernel will issue a
    large number of paging requests to free up memory.  In such a
    situation, allocating memory is dangerous.
    
    Fix this by not allocating space for the response message, rather, use
    a chunk of the workers stack space.  Also, we only handle the `notify'
    and `memory_object' protocol, which both only contain simple routines,
    we only need a `mig_response_header_t'.
    
    * libpager/demuxer.c (struct request): Remove `inp' and `outp'.
    (request_inp): New function.
    (pager_demuxer): Do not allocate memory for the response.
    (mig_reply_setup): New function.
    (worker_func): Adjust accordingly.

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

Summary of changes:
 libdiskfs/dir-init.c |    3 +-
 libpager/demuxer.c   |   66 +++++++++++++++++++++++++++++++++++++-------------
 2 files changed, 51 insertions(+), 18 deletions(-)


hooks/post-receive
-- 
Hurd



reply via email to

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