RE: [XEN][PATCH v6 14/19] common/device_tree: Add rwlock for dt_host

2023-05-03 Thread Henry Wang
Hi Vikram, > -Original Message- > Subject: [XEN][PATCH v6 14/19] common/device_tree: Add rwlock for dt_host > > Dynamic programming ops will modify the dt_host and there might be other > function which are browsing the dt_host at the same time. To avoid the race >

[XEN][PATCH v6 14/19] common/device_tree: Add rwlock for dt_host

2023-05-02 Thread Vikram Garhwal
Dynamic programming ops will modify the dt_host and there might be other function which are browsing the dt_host at the same time. To avoid the race conditions, adding rwlock for browsing the dt_host during runtime. Signed-off-by: Vikram Garhwal --- xen/common/device_tree.c | 4