net/smc: Add comment for smc_tx_pending
authorTony Lu <tonylu@linux.alibaba.com>
Fri, 11 Feb 2022 06:52:21 +0000 (14:52 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Feb 2022 11:16:40 +0000 (11:16 +0000)
commit2e13bde1315373cf7e9fb7dc4330d0d2a6bd5417
tree273eaad0b608c23b84a258081a11dd82602ed584
parent806c37ddcf286665adce5c3a99b5fe4424cbf9fe
net/smc: Add comment for smc_tx_pending

The previous patch introduces a lock-free version of smc_tx_work() to
solve unnecessary lock contention, which is expected to be held lock.
So this adds comment to remind people to keep an eye out for locks.

Suggested-by: Stefan Raspl <raspl@linux.ibm.com>
Signed-off-by: Tony Lu <tonylu@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_tx.c