Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 462c3818 authored by Arun Kumar Neelakantam's avatar Arun Kumar Neelakantam Committed by Stephen Boyd
Browse files

msm: ipc_logging: Replace spinlock_t with rwlock_t



Currently with the spinlock, all drivers are serialized(SMD_PKT,
BAM_DMUX etc.) when they try to log into the IPC logging even though the
drivers log into their own context space. The read/write lock will
enable multiple drivers to log into their context space in parallel.
This will help more in the case of drivers which are
performance-critical like BAM_DMUX.

ipc_log_context_list is read often and updated rarely so replace the
usage of spinlock_t with rwlock_t.

Change-Id: I91f18ef67b80edf6f045f93f51ad2f48e46b3bb4
Signed-off-by: default avatarArun Kumar Neelakantam <aneela@codeaurora.org>
parent ecfa2d47
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment