Re: bug in 2.1.89 include/net/sock.h?

A.N.Kuznetsov (kuznet@ms2.inr.ac.ru)
Sun, 22 Mar 1998 22:19:57 +0300 (MSK)


Hello!

> 2) a mechanism is added to tell sock_[rw]free() to not make
> the "space available" wakeup callbacks, perhaps a sort
> of skb_nowakeup() which sets state in the skb, after memory
> and SOCK linkage has been made, which makes this happen
> and we use this in TCP for ACK frames, and transmission clones

Just create sock_wfree_donotwakeup and skb_set_owner_[somewhat]

BTW Does someone remember why the check for wmem_alloc*2 < sndbuf
was removed from write wakeup routine? It also would (hypothetically) improve
scheduling, though could have bad some interaction with tcp logic.
Maybe, tcp should have its own set of socket callbacks,
which ignore sndbuf, but depend more intelligently on tcp state.

Alexey

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu