Hello!
> Of course. The only problem is that the clock can be non mononotonous
> sometimes and not be in sync with gettimeofday, but at least the kernel
> users of packet timestamps do not care.
What kernel users? Where did you find them? :-)
> The only problem is the socket option, but it is obscure enough that I
> would not worry too much about it.
I am very sorry, but passing timestamp to user level is the only purpose
of timestamping and it _MUST_ be monotonic and synchronous to time of day,
otherwise it is completely useless.
Shortly, this timestmap must be synchronous to timeofday.
> > > - Implement lockless
You talk about this for ages. :-)
Actually, the problem is solved very easily. Deprecate SIOCGSTAMP,
and either count users of SO_TIMESTAMP and enable timestamping only
when it is required, or, alternatively, to move retrirval timestamp to socket
level.
Alexey
|