You have a strange definition of "disgusting".
But if that's true that applies to the existing timestamp in there then too
(and a couple of other fields in there too)
Also I suspect that your percent numbers are wrong, depending on the workload.
Personally I think hardware time stamps should replace the existing
time stamp and I suspect more and more applications will move to that eventually.
This will probably be a disaster on e.g. high speed network sniffing
(which is one of the primary use cases of the hardware
As soon as there is any reordering in the queue (and that is inevitable
if you scale over multiple CPUs) your linear searches could get quite
long and bounce cache lines like mad. Also I doubt it can be really
done lockless.
Also to be honest such a complicated and likely badly performing scheme just to save 4-8 bytes
would match my own definition of "disgusting".
-Andi
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html