Re: tcp timer mutex

2022-09-03 Thread YASUOKA Masahiko
ok yasuoka On Fri, 2 Sep 2022 14:44:29 +0200 Alexander Bluhm wrote: > + now = READ_ONCE(tcp_now); > + > /* >* Determine length of data that should be transmitted, >* and flags that will be used. > @@ -228,7 +231,7 @@ tcp_output(struct tcpcb *tp) >* to send, then

tcp timer mutex

2022-09-02 Thread Alexander Bluhm
Hi, To remove pressure from the exclusive netlock, I would like to run tcp_slowtimo() with a mutex only. That means that all the consumers have to read tcp_now only once to get consistent time. Same for tcp_iss, update it with mutex, read it once. ok? bluhm Index: net/pf.c ===