Unverified Commit bc8d0e2f authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!826 [OLK-5.10] net/smc: mutex lock optimize

Merge Pull Request from: @giree2 
 
1. replace llc_conf_mutex with rw_semaphore
2. use read semaphores to reduce unnecessary blocking in smc_buf_create() & smcr_buf_unuse()
3. replace mutex rmbs_lock and sndbufs_lock with rw_semaphore
4. modify llc_conf_mutex variable to llc_conf_lock. 
 
Link:https://gitee.com/openeuler/kernel/pulls/826

 

Reviewed-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parents 0f9e7446 d12efaa4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment