[Webkit-unassigned] [Bug 49659] UpdateChunk's need too many memory allocation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 19 06:36:57 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=49659





--- Comment #13 from Balazs Kelemen <kbalazs at webkit.org>  2010-11-19 06:36:56 PST ---
(In reply to comment #12)
> As I see an effective way of polling would need a hash table in shared memory
> to be able to see if a chunk is free or not at both sides. With this we could
> minimize not just the number of allocations we need to do but the number 
> of attachments to shared memory. Does it sounds reasonable to you?

Another idea has came to my mind: one pool at each process with message passing
capability. One of them can release chunks and inform the other about that.
The chunks would have a header (in shared memory) that store the state:
free, reserved or attached.

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



More information about the webkit-unassigned mailing list