svn commit: r257535 - head/sys/netgraph

Mark R V Murray mark at grondar.org
Sat Nov 2 22:36:13 UTC 2013


On 2 Nov 2013, at 22:28, Bruce Evans <brde at optusnet.com.au> wrote:

> On Sat, 2 Nov 2013, Mark R V Murray wrote:
> 
>> On 2 Nov 2013, at 09:32, Mark R V Murray <mark at grondar.org> wrote:
>>>> Mark - did you initially mean the address of the mbuf m_data pointer,
>>>> or the data payload itself?
>>> 
>>> As Bruce says - the address of payload data itself. We don’t have 12-byte pointers in FreeBSD. :-)
>> 
>> Cancel that.
>> 
>> The address passed must be the address of the m_data field in the mbuf structure. The harvested data is 12 bytes from that address forward, so not the data pointed to by that m_data pointer but the pointer value itself and some following junk too.
> 
> Is that really worth using?

Yes. Most of the value comes from the timing. The 12 bytes we snatch on the way past are opportunistic, and hopefully cheap due to being in-cache.

M
-- 
-- 
Mark R V Murray

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 353 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20131102/11adce40/attachment.sig>


More information about the svn-src-all mailing list