commit-hurd
[Top][All Lists]
Advanced

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

[SCM] GNU Mach branch, master, updated. v1.4-518-g739421a


From: Justus Winter
Subject: [SCM] GNU Mach branch, master, updated. v1.4-518-g739421a
Date: Fri, 20 Feb 2015 17:47:52 +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 "GNU Mach".

The branch, master has been updated
       via  739421ac52472d8dd2f23c141d449ff112fbf9b6 (commit)
       via  b0fa32c1d7de74a8b83b33833640ff30c84e9fbd (commit)
      from  aabd2b8ef9b1caa4c1f4339adeebef62b34f7a01 (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 739421ac52472d8dd2f23c141d449ff112fbf9b6
Author: Justus Winter <address@hidden>
Date:   Tue Sep 30 09:08:44 2014 +0200

    kern: reduce the size of `struct thread'
    
    Reduce the size of `struct thread' by twelve bytes making it fit into
    exactly five cache lines (on 32-bit platforms).
    
    * kern/thread.h (struct thread): Group the state and all flags in a
    bitfield.
    (TH_EV_WAKE_ACTIVE, TH_EV_STATE): Provide macros that generate keys
    for synchronization primitives like `thread_wakeup'.
    * kern/thread.c (thread_halt, thread_dowait, thread_suspend): Use the
    new keys instead of addresses of fields for the synchronisation.
    * kern/ipc_sched.c (thread_handoff): Likewise.
    * kern/sched_prim.c (thread_invoke, thread_dispatch): Likewise.

commit b0fa32c1d7de74a8b83b33833640ff30c84e9fbd
Author: Justus Winter <address@hidden>
Date:   Wed Feb 18 06:40:07 2015 +0100

    kern: avoid #if 0ing out thread_collect_scan
    
    Currently, `thread_collect_scan' does nothing because `pcb_collect' is
    a nop.  Its body is exempt from compilation by means of the
    preprocessor.
    
    This is unfortunate as it increases the risk of bitrot, and we still
    need to pay the price of rate-limiting thread_collect_scan.
    
    * kern/thread.c (thread_collect_scan): Drop #if 0 around the body.
    * vm/vm_pageout.c (vm_pageout_scan): Do not call
    `consider_thread_collect' and document why.

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

Summary of changes:
 kern/ipc_sched.c  |    2 +-
 kern/sched_prim.c |   10 +++++-----
 kern/thread.c     |   14 ++++++--------
 kern/thread.h     |   27 +++++++++++++++++++++++----
 vm/vm_pageout.c   |    2 ++
 5 files changed, 37 insertions(+), 18 deletions(-)


hooks/post-receive
-- 
GNU Mach



reply via email to

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