Wireshark-commits: [Wireshark-commits] rev 20194: /trunk/ /trunk/epan/dfilter/: dfvm.c /trunk/epan/
Date: Fri, 22 Dec 2006 08:35:45 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=20194

User: sahlberg
Date: 2006/12/22 08:35 AM

Log:
 change some slab allocated memory into ep/emem allocated structures instead.
 
 this primarily removes code and simplifies (==eliminates) the need to track the data that is allocated and should potentially be slightly faster than a slab allocator.
 however these functions are called A LOT so there might be a performance hit when using emem with full debugging canary values and all the bells and whistles activated.
 
 
 this change also makes any future attempt to parallellize dissection of frames easier if we just make the ep allocator allocate from a threads specific ep pool.
 (something we would have to do anyway to make ep allocations multithreaded)
 
 
 
 this works in all my tests so far but needs more test coverage.

Directory: /trunk/epan/dfilter/
  Changes    Path          Action
  +0 -1      dfvm.c        Modified

Directory: /trunk/epan/
  Changes    Path                Action
  +0 -1      libwireshark.def    Modified
  +4 -67     proto.c             Modified

Directory: /trunk/epan/ftypes/
  Changes    Path              Action
  +0 -1      ftype-ipv4.c      Modified
  +0 -1      ftype-string.c    Modified
  +2 -3      ftypes.c          Modified
  +0 -25     ftypes.h          Modified

Directory: /trunk/gtk/
  Changes    Path                  Action
  +0 -1      dfilter_expr_dlg.c    Modified