Rao Shoaib wrote:
We are planning to increase the size of mblk by 4 bytes. This will make the size to be 64bytes in 64bit and 36 bytes in 32bit mode. Since all modern CPU's have an L2 cache line size of 64 we do not see any issues with this change. Please let us know if you see any issues with thi change.

What are you adding to the mblk_t?

I have been contemplating adding a few things (about 17 bits worth of data) to either struct msgb or to struct datab.

Btw, I'm concerned about code that may have (erroneously) declared mblk_t as an automatic variable somewhere. It would be a bad choice, and not DDI compliant code, but I think some regression testing might be in order.
   -- Garrett


Thanks,

Rao.

P.S. Once we have actually made the change we will obviously run benchmarks to verify that there is no performance degradation.
_______________________________________________
networking-discuss mailing list
[email protected]

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to