+117
−32
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Sending buffers between processes is expensive so they must be cached. Currently buffers are explictly cached. This patch updates them to implicitly cache them per client process. The max buffers per process is 64. After that, the cache will try to evict buffers that have been destroyed. If it doesn't find any, it will evict the least recently used buffer. Test: Transaction_test Bug: 80477568 Change-Id: Id048d32e05e19d0ce875212cbcddf997736110fd