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  3d235455bb1f579c725280de1803e2d95894998a (commit)
      from  c51472613cfce3cf735ec3d504cac8153971cdec (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 3d235455bb1f579c725280de1803e2d95894998a
Author: Damien Zammit <[email protected]>
Date:   Thu Jan 8 08:37:39 2026 +0000

    x86_64/cswitch: Don't clobber %rax with cpu number
    
    Since a thread is supposed to be returned from Switch_context,
    this fixes a bug where the thread is always returned as 0x0 on 64b UP,
    hence the idle thread was being called too often instead of a chosen thread.
    Also, this fixes a potential future bug with 64b SMP where the non-zero
    cpu number is returned as a valid thread and causes a crash.
    
    TESTED: By compiling gnumach on hurd-amd64 with
    
      --enable-ncpus=1 --disable-linux-groups --enable-kdb --enable-apic
    
      and booting hurd-amd64 in UP on qemu.
    
    Message-ID: <[email protected]>

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

Summary of changes:
 x86_64/cswitch.S | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU Mach

Reply via email to