Damien Zammit, le sam. 26 févr. 2022 06:29:21 +, a ecrit:
> @@ -233,22 +246,32 @@ rumpdisk_device_open (mach_port_t reply_port,
> mach_msg_type_name_t reply_port_ty
>bd = search_bd (name);
You also need to protect the list, against concurrent addition of
elements.
> @@ -296,6 +323,8 @@ r
Prepare for multithreading of rumpdisk by protecting critical paths
from concurrent access.
TESTED to still boot via rump with this change even though multithread
is not yet enabled.
---
rumpdisk/block-rump.c | 63 ---
1 file changed, 53 insertions(+), 10