Wireshark-bugs: [Wireshark-bugs] [Bug 4140] emem patches
Date: Mon, 19 Oct 2009 10:15:26 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4140


Jakub Zawadzki <darkjames@xxxxxxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #3803|                            |review_for_checkin?
               Flag|                            |




--- Comment #1 from Jakub Zawadzki <darkjames@xxxxxxxxxxxxxxxx>  2009-10-19 10:15:25 PDT ---
Created an attachment (id=3803)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=3803)
Split emem_alloc

This patch split emem_alloc() into two functions: emem_alloc_chunk and
emem_alloc_glib.

Current allocator is available in emem_header_t.memory_alloc

It should be easier to develop new memory allocator and maintain current.
It might also give some speedup (we don't need to check mem->debug_use_chunks
every time :)


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.