summaryrefslogtreecommitdiff
path: root/scripts/markup_oops.pl
diff options
context:
space:
mode:
authorKarsten Graul <kgraul@linux.ibm.com>2020-05-04 15:18:46 +0300
committerDavid S. Miller <davem@davemloft.net>2020-05-04 20:54:39 +0300
commita52bcc919b14c9d78f03b2b4ff604e5ca69c7e6d (patch)
tree8c48325604e3de317858175c602fd7bbb07aca00 /scripts/markup_oops.pl
parent3e0c40afce4ea5b08bb7e3f65c55157817116640 (diff)
downloadlinux-a52bcc919b14c9d78f03b2b4ff604e5ca69c7e6d.tar.xz
net/smc: improve termination processing
Add helper smcr_lgr_link_deactivate_all() and eliminate duplicate code. In smc_lgr_free(), clear the smc-r links before smc_lgr_free_bufs() is called so buffers are already prepared for free. The usage of the soft parameter in __smc_lgr_terminate() is no longer needed, smc_lgr_free() can be called directly. smc_lgr_terminate_sched() and smc_smcd_terminate() set lgr->freeing to indicate that the link group will be freed soon to avoid unnecessary schedules of the free worker. Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Reviewed-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/markup_oops.pl')
0 files changed, 0 insertions, 0 deletions