[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [PULL 2/3] xen: Drop out of coroutine context xen_invalidate_map_cac
From: |
Peng Fan |
Subject: |
RE: [PULL 2/3] xen: Drop out of coroutine context xen_invalidate_map_cache_entry |
Date: |
Thu, 14 Mar 2024 01:44:24 +0000 |
> Subject: Re: [PULL 2/3] xen: Drop out of coroutine context
> xen_invalidate_map_cache_entry
>
> 13.03.2024 20:21, Michael Tokarev:
> > 12.03.2024 17:27, Anthony PERARD wrote:
> >> From: Peng Fan <peng.fan@nxp.com>
> >>
> >> xen_invalidate_map_cache_entry is not expected to run in a coroutine.
> >> Without this, there is crash:
> >
> > Hi! Is this a stable material? (It applies cleanly and builds on 8.2
> > and 7.2)
>
> Actually for 7.2 it needed a minor tweak:
>
> -void coroutine_mixed_fn xen_invalidate_map_cache_entry(uint8_t *buffer)
> +void xen_invalidate_map_cache_entry(uint8_t *buffer)
I only tested 8.2 with xen virtio enabled. Not sure whether 7.2 has the issue
or not.
Thanks,
Peng.
>
> but the rest is okay.
>
> /mjt