Small omission in NKE sample ?
Small omission in NKE sample ?
- Subject: Small omission in NKE sample ?
- From: Bogdan Harjoc <email@hidden>
- Date: Wed, 7 Jul 2010 17:39:02 +0300
Hello,
Attached is a patch for what I think is a bug in the tcplognke sample,
I would appreciate a reply if I missed something.
While I'm here, I'd like to ask why mcache_alloc would ever get stuck
in msleep (stack is below). This stack trace is how I ended up
revisiting the sample code (that I'm using in my kext).
Thanks,
Bogdan
0x31a8b968 0x226e57 <thread_invoke+1213>
0x31a8b9e8 0x2270f6 <thread_block_reason+331>
0x31a8ba58 0x227184 <thread_block+33>
0x31a8ba78 0x221948 <lck_mtx_sleep+87>
0x31a8ba98 0x4867fc <_sleep+299>
0x31a8bb08 0x486eef <msleep+157>
0x31a8bb48 0x4a6732 <mbuf_slab_alloc+1251>
0x31a8bbb8 0x48ed52 <mcache_alloc_ext+426>
0x31a8bc28 0x48ee72 <mcache_alloc+39>
0x31a8bc58 0x4a812b <m_get+51>
0x31a8bc88 0x4aac61 <m_tag_alloc+57>
0x31a8bcb8 0x48c3b7 <mbuf_tag_allocate+188>
0x31a8bcf8 0x3203f64f <(my kext) + 0x164f>
...
(OS X 10.6.4)
Attachment:
tcplognke-always-set-tag-value.patch
Description: Binary data
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden