[lkml]   [1998]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: bug in 2.1.89 include/net/sock.h?
   From: "A.N.Kuznetsov" <>
Date: Sun, 22 Mar 1998 22:19:57 +0300 (MSK)

Just create sock_wfree_donotwakeup and skb_set_owner_[somewhat]

I hacked up something quick like this, it was relatively straight
forward. But it seems to not make much of a performance difference
from what I've checked so far. I'll do some more research into it
before I jump to any conclusions though.

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.

I think it disappeared when Alan moved all generic SOCK initialization
things into core/sock.c

But just like the sock_wfree_donotwakeup() thing it may prove to be
not much of a performance gain at all.

David S. Miller

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to

 \ /
  Last update: 2005-03-22 13:41    [W:0.091 / U:2.060 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site