lkml.org 
[lkml]   [2000]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Q: sock output serialization

Hi,

>>>>> "kuznet" == kuznet <kuznet@ms2.inr.ac.ru> writes:

>> when sk->lock.users!=0. Is there a particular reason why such
>> task queue does not exist?

kuznet> Because it appeared to be useless overhead. I also
kuznet> believed that it will be required in tcp, but one day I
kuznet> understood that all the problems of these kind
kuznet> dissolved. 8)

Yes, probably, this should also hold for other protocols. I need to study the
protocol specs for further details.

But I realized another problem X.25 related SMP problem -- this time
related to input. The protocol design assumes that the transmission
path preserves the packet ordering. It seems that with 2.4.0 SMP, the ordering
of the packets when received from the wire is not necessarily the same
as when delivered to the protocolŽs receive method. Is this true?

LAPB should be able to recover from such sequence errors. But the X.25 packet
layer can only detect such problem (and reset the connection). It cannot
recover from such errors transparently. Unfortunatly, the current design
assumes that the LAPB layer is performed below the network interface.

Although this allows to support controllers which implement LAPB in firmware,
this seems to break the assumptions made by upper layers. The upper layer
assumes that LAPB devices provide a reliable datalink service. But the Linux
network interfaces do not preserve such reliable semantics. (Network
interfaces may drop frames, e.g. when NET_RX input queue overruns, and
and on SMP packet sequencing might change),

Henner

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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