Re: [XEN][PATCH v10 14/20] common/device_tree: Add rwlock for dt_host

2023-08-29 Thread Michal Orzel
On 25/08/2023 10:02, Vikram Garhwal wrote: > > > Dynamic programming ops will modify the dt_host and there might be other > functions which are browsing the dt_host at the same time. To avoid the race > conditions, adding rwlock for browsing the dt_host during runtime. dt_host > writer will be

Re: [XEN][PATCH v10 14/20] common/device_tree: Add rwlock for dt_host

2023-08-28 Thread Vikram Garhwal
On Fri, Aug 25, 2023 at 01:02:16AM -0700, Vikram Garhwal wrote: > Dynamic programming ops will modify the dt_host and there might be other > functions which are browsing the dt_host at the same time. To avoid the race > conditions, adding rwlock for browsing the dt_host during runtime. dt_host > wr

[XEN][PATCH v10 14/20] common/device_tree: Add rwlock for dt_host

2023-08-25 Thread Vikram Garhwal
Dynamic programming ops will modify the dt_host and there might be other functions which are browsing the dt_host at the same time. To avoid the race conditions, adding rwlock for browsing the dt_host during runtime. dt_host writer will be added in the follow-up patch for device tree overlay functi