Re: [PATCH v1 4/5] misc: fastrpc: Remove buffer from list prior to unmap operation

2025-05-19 Thread Dmitry Baryshkov
On Mon, May 19, 2025 at 04:26:27PM +0530, Ekansh Gupta wrote: > > > On 5/19/2025 3:50 PM, Dmitry Baryshkov wrote: > > On Tue, May 13, 2025 at 09:58:24AM +0530, Ekansh Gupta wrote: > >> fastrpc_req_munmap_impl() is called to unmap any buffer. The buffer is > >> getting removed from the list after

Re: [PATCH v1 4/5] misc: fastrpc: Remove buffer from list prior to unmap operation

2025-05-19 Thread Ekansh Gupta
On 5/19/2025 3:50 PM, Dmitry Baryshkov wrote: > On Tue, May 13, 2025 at 09:58:24AM +0530, Ekansh Gupta wrote: >> fastrpc_req_munmap_impl() is called to unmap any buffer. The buffer is >> getting removed from the list after it is unmapped from DSP. This can >> create potential race conditions if

Re: [PATCH v1 4/5] misc: fastrpc: Remove buffer from list prior to unmap operation

2025-05-19 Thread Dmitry Baryshkov
On Tue, May 13, 2025 at 09:58:24AM +0530, Ekansh Gupta wrote: > fastrpc_req_munmap_impl() is called to unmap any buffer. The buffer is > getting removed from the list after it is unmapped from DSP. This can > create potential race conditions if any other thread removes the entry > from list while u

[PATCH v1 4/5] misc: fastrpc: Remove buffer from list prior to unmap operation

2025-05-12 Thread Ekansh Gupta
fastrpc_req_munmap_impl() is called to unmap any buffer. The buffer is getting removed from the list after it is unmapped from DSP. This can create potential race conditions if any other thread removes the entry from list while unmap operation is ongoing. Remove the entry before calling unmap opera