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  8908b9977efc334bf74ffa79923dc8b05fef9748 (commit)
      from  6ab0f8847b06abf48347896cdcc7040db3804863 (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 8908b9977efc334bf74ffa79923dc8b05fef9748
Author: Damien Zammit <[email protected]>
Date:   Thu Dec 11 08:13:46 2025 +0000

    mach_clock: Use a callwheel as per Costello & Varghese '95
    
    Timeouts are now very fast to look up, at the expense of more memory,
    a much shorter list is traversed rather than all of them.  See [1].
    Timeouts that are stopped before expiry are now faster to remove,
    and inserting a timeout is faster.
    Already set timeouts may be set again, resulting in their removal first,
    then are reinserted.  Indeed this happens routinely.
    
    The thread timers are stored within the thread structures themselves,
    so there is no arbitrary limit on their number, however for
    legacy timeouts there are NTIMERS == 20 currently allocated statically
    for things like comtimer (serial driver) which are in a reusable array.
    
    TESTED: On Hurd i386 UP+apic
    
    [1] Costello & Varghese 1995: https://doi.org/10.7936/K7VM49H5
    Message-ID: <[email protected]>

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

Summary of changes:
 device/chario.c      |   8 +-
 device/tty.h         |   2 +
 i386/i386at/ioapic.c |   2 +-
 kern/mach_clock.c    | 261 ++++++++++++++++++++++++++++++---------------------
 kern/mach_clock.h    |  36 ++++---
 kern/sched_prim.c    |   4 +-
 kern/thread.h        |   4 +-
 7 files changed, 180 insertions(+), 137 deletions(-)


hooks/post-receive
-- 
GNU Mach

Reply via email to