From: Jamie Lokier <jamie@xxxxxxxxxxxxx> Date: Thu, 22 Dec 2005 20:54:41 +0000 > That reminds me. Is there a good (efficient) way to find out when > it's freed from userspace? One way would be to use the SIOCOUTQ ioctl on the TCP socket. This states how many un-ACK'd (and thus unfree'd) bytes remain in the send queue. So, for example, let's say you did two 1K sends, and you just want to know when the first 1K is reusable. To do that, just wait for SIOCOUTQ to return 1K. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/