lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #26132] Packet processing optimization using static me


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #26132] Packet processing optimization using static message
Date: Wed, 11 Nov 2009 17:23:46 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5

Follow-up Comment #2, bug #26132 (project lwip):

> Some operating systems has special API to post semaphores from
> ISR domain so we added sys_mbox_ISR_post() API to distinguish
> between ISR post’s to thread level post’s.

That's what we use sys_mbox_trypost() for.

The general idea of one static message isn't too bad, but to include this
"patch" into lwIP, it would be necessary to include the input packet list
handling, too.

As such, I'm not convinced this should go in to the lwIP code...

I also don't think memp_malloc()/memp_free() is a bottleneck here (you could
implement the list/not calling sys_mbox_post a second time without the static
message, too).

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?26132>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]