Re: [PATCH v1 1/1] ml/cnxk: fix fast-path synchronization

2023-11-13 Thread Jerin Jacob
On Mon, Nov 13, 2023 at 11:01 AM Srikanth Yalavarthi wrote: > > Segfaults are reported with TVM/LLVM models as NULL value > is read by dequeue thread for the op handle. This is due > synchronization issue between enqueue and dequeue threads. > > This fix ensures the op handle written to internal r

[PATCH v1 1/1] ml/cnxk: fix fast-path synchronization

2023-11-12 Thread Srikanth Yalavarthi
Segfaults are reported with TVM/LLVM models as NULL value is read by dequeue thread for the op handle. This is due synchronization issue between enqueue and dequeue threads. This fix ensures the op handle written to internal request structure is committed before the dequeue threads read the handle