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.8-747-gb11e10e2


From: Samuel Thibault
Subject: [SCM] GNU Mach branch, master, updated. v1.8-747-gb11e10e2
Date: Sun, 24 Sep 2023 08:43:11 -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 "GNU Mach".

The branch, master has been updated
       via  b11e10e2c81c2b608176021364a36d84173358e3 (commit)
       via  31d45d0d8ee1d8eee96fc2a283a388b6b6aca669 (commit)
      from  74a1d4600a53541f5c89d55c6d4efd3210fe992d (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 b11e10e2c81c2b608176021364a36d84173358e3
Author: Damien Zammit <damien@zamaudio.com>
Date:   Sun Sep 24 10:35:10 2023 +0000

    percpu area using gs segment
    
    This speeds up smp again, by storing the struct processor
    in a percpu area and avoiding an expensive cpu_number every call
    of current_processor(), as well as getting the cpu_number by
    an offset into the percpu area.  Untested on 64 bit
    and work remains to use other percpu arrays.
    
    TESTED: (NCPUS=8) -smp 1 boots to login shell ~2x slower than uniprocessor
    TESTED: (NCPUS=8) -smp 2 boots to INIT but hangs there
    TESTED: (NCPUS=8) -smp 4 gets stuck seemingly within rumpdisk and hangs
    TESTED: (NCPUS=1) uniprocessor is a bit faster than normal
    
    Message-Id: <20230924103428.455966-3-damien@zamaudio.com>

commit 31d45d0d8ee1d8eee96fc2a283a388b6b6aca669
Author: Damien Zammit <damien@zamaudio.com>
Date:   Sun Sep 24 10:34:49 2023 +0000

    cpu_number: Inline widely used simple function
    
    TESTED: on uniprocessor and smp, both behaved as normal.
    
    Message-Id: <20230924103428.455966-2-damien@zamaudio.com>

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

Summary of changes:
 i386/Makefrag.am                     |  2 +
 i386/Makefrag_x86.am                 |  1 -
 i386/i386/cpu_number.h               | 25 +++++++++--
 i386/i386/fpu.c                      |  2 +-
 i386/i386/gdt.c                      | 21 +++++++--
 i386/i386/gdt.h                      |  8 ++--
 i386/i386/i386asm.sym                |  2 +
 i386/i386/locore.S                   | 20 +++++----
 i386/i386/mp_desc.c                  |  3 +-
 i386/i386/{cpu_number.c => percpu.c} | 23 +++++-----
 i386/i386/percpu.h                   | 83 ++++++++++++++++++++++++++++++++++++
 i386/i386/pit.c                      |  2 +-
 i386/i386/spl.S                      | 16 +++----
 i386/i386at/model_dep.c              |  1 +
 kern/ast.h                           |  1 -
 kern/cpu_number.h                    |  3 +-
 kern/processor.c                     |  7 +--
 kern/processor.h                     | 20 +++------
 kern/startup.c                       |  3 +-
 kern/thread.h                        |  3 +-
 x86_64/Makefrag.am                   |  2 +
 x86_64/locore.S                      |  7 +--
 22 files changed, 186 insertions(+), 69 deletions(-)
 rename i386/i386/{cpu_number.c => percpu.c} (67%)
 create mode 100644 i386/i386/percpu.h


hooks/post-receive
-- 
GNU Mach



reply via email to

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