[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v12 0/2 hurd] Add irqhelp library and clean up ddekit
From: |
Samuel Thibault |
Subject: |
Re: [PATCH v12 0/2 hurd] Add irqhelp library and clean up ddekit |
Date: |
Tue, 26 Mar 2024 19:50:00 +0100 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Hello,
Applied, thanks for your patience!
Samuel
Damien Zammit, le mar. 26 mars 2024 04:59:00 +0000, a ecrit:
> Hi,
>
> This patchset adds a new library irqhelp for assisting the attachment
> of irq handlers in userspace.
>
> The previous problem was that calling a function with a local param
> from inside the wrapped_server_loop was crashing netdde
> due to a bogus stack offset. This is fixed by removing the nested function
> altogether and removes execution from the stack in interrupt.c
>
> The mach_msg_server thread now shuts down cleanly by setting the
> irq->port to a dead name outside of the irq handler thread, thus
> not requiring a new interrupt to be triggered to shut the thread down.
>
> TESTED: by compiling netdde.static and trying ifdown/ifup a few times
> and transferring a large file from the vm.
>
> Thanks,
> Damien