Commit 5ea54f58 authored by Litao Jiao's avatar Litao Jiao
Browse files

anolis: net/smc: optimize for smc_accept_poll

anolis inclusion
from anolis-v5.10-134
commit 47ee5ae9924895ddfe4c5ebdeecdd3051c5e7cf7
category: performance
bugzilla: https://gitee.com/openeuler/kernel/issues/I782PA
CVE: NA

Reference: https://gitee.com/anolis/hpn-cloud-kernel/commit/47ee5ae9924895ddfe4c5ebdeecdd3051c5e7cf7



--------------------------------

ANBZ: #1742

It is no need to lock accept_q_lock when checking accept_q
is empty or not.

Signed-off-by: default avatarGuangguan Wang <guangguan.wang@linux.alibaba.com>
Acked-by: default avatarTony Lu <tonylu@linux.alibaba.com>
Link: https://gitee.com/anolis/cloud-kernel/pulls/577
Link: https://gitee.com/anolis/cloud-kernel/pulls/906


Signed-off-by: default avatarLitao Jiao <jiaolitao@sangfor.com.cn>
parent febe97ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment