bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH] Update for .../rumpdisk: Fix race condition in bootstrap


From: Samuel Thibault
Subject: Re: [PATCH] Update for .../rumpdisk: Fix race condition in bootstrap
Date: Fri, 26 May 2023 17:56:04 +0200
User-agent: NeoMutt/20170609 (1.8.3)

Janneke Nieuwenhuizen, le ven. 26 mai 2023 17:42:49 +0200, a ecrit:
> Now that rumpdisk works in Guix we need netdde.  Trying to build netdde
> I need the attached patch.  I'm wondering how (/if?) this built for you
> ;)

It seems at some point in the flurry of machdev changes I introduced 

https://salsa.debian.org/hurd-team/hurd/-/blob/master/debian/patches/machdev_trivfs_server

It would be *really* welcome if people could actually help me with such
integration & fixes. Whenever trying to upload a new version of hurd
into Debian, I keep getting such portability issues between various
versions of interfaces. People don't seem to be taking enough care of
making sure various code keep compatible with each other and I end up
throwing such odd changes in in a rush and don't actually have time to
clean stuff after barely finding time to just make things just work.

Samuel

> From b0a7e4f2706bea8d1c80d5af7a095941f9635033 Mon Sep 17 00:00:00 2001
> From: Janneke Nieuwenhuizen <janneke@gnu.org>
> Date: Fri, 26 May 2023 17:39:17 +0200
> Subject: [PATCH] Update for .../rumpdisk: Fix race condition in bootstrap
> 
> ---
>  machdev.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/machdev.c b/machdev.c
> index dda5eb8ba..1a6811072 100644
> --- a/machdev.c
> +++ b/machdev.c
> @@ -18,5 +18,6 @@ void machdev_run1 (void *arg)
>  
>  void machdev_run2(void)
>  {
> -     machdev_trivfs_server(bootstrap);
> +     machdev_trivfs_server_startup(bootstrap);
> +     machdev_trivfs_server_loop(NULL);
>  }
> -- 
> 2.40.1



reply via email to

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