mbox series

[v6,0/2] Add changes to use session index as identifier

Message ID 20241203053048.1690069-1-quic_ekangupt@quicinc.com (mailing list archive)
Headers show
Series Add changes to use session index as identifier | expand

Message

Ekansh Gupta Dec. 3, 2024, 5:30 a.m. UTC
This patch series carries changes to use a masked session index
as an identifier instead of process tgid to support mutiple PDs
from same process.
Patch [v5]: https://lore.kernel.org/all/20241202064806.1164800-1-quic_ekangupt@quicinc.com/

Changes in v6:
  - Add single-line comment.
Changes in v5:
  - Remove mask and just modify session index.
Changes in v4:
  - Use GENMASK for client ID mask
  - Add a new patch to rename tid and pgid as client ID.
Changes in v3:
  - Modified commit text.
  - Removed idr implementation.
  - Using session index for client id.
Changes in v2:
  - Reformatted commit text.
  - Moved from ida to idr.
  - Changed dsp_pgid data type.
  - Resolved memory leak.

Ekansh Gupta (2):
  misc: fastrpc: Add support for multiple PD from one process
  misc: fastrpc: Rename tgid and pid to client_id

 drivers/misc/fastrpc.c | 58 ++++++++++++++++++++++--------------------
 1 file changed, 30 insertions(+), 28 deletions(-)

Comments

Srinivas Kandagatla Dec. 17, 2024, 11:58 a.m. UTC | #1
On Tue, 03 Dec 2024 11:00:46 +0530, Ekansh Gupta wrote:
> This patch series carries changes to use a masked session index
> as an identifier instead of process tgid to support mutiple PDs
> from same process.
> Patch [v5]: https://lore.kernel.org/all/20241202064806.1164800-1-quic_ekangupt@quicinc.com/
> 
> Changes in v6:
>   - Add single-line comment.
> Changes in v5:
>   - Remove mask and just modify session index.
> Changes in v4:
>   - Use GENMASK for client ID mask
>   - Add a new patch to rename tid and pgid as client ID.
> Changes in v3:
>   - Modified commit text.
>   - Removed idr implementation.
>   - Using session index for client id.
> Changes in v2:
>   - Reformatted commit text.
>   - Moved from ida to idr.
>   - Changed dsp_pgid data type.
>   - Resolved memory leak.
> 
> [...]

Applied, thanks!

[1/2] misc: fastrpc: Add support for multiple PD from one process
      commit: 0c3e383ce74b4239033fceb6f241cb09612f9547
[2/2] misc: fastrpc: Rename tgid and pid to client_id
      commit: 9f86299512e04b24fb0b4a49849affbb397780e1

Best regards,