Re: [Spice-devel] [PATCH x11spice] Add cache for SHM segments

2019-07-15 Thread Frediano Ziglio
> > Add a cache to allow the reuse of SHM segments. > Shared memory segments are added to the cache instead of being > deallocated, and the cache is searched instead of/before allocating a > new segment. > > Both the SHM segments and their attachment with the X server are cached. > > The cache c

[Spice-devel] [PATCH x11spice] Add cache for SHM segments

2019-07-11 Thread Brendan Shanks
Add a cache to allow the reuse of SHM segments. Shared memory segments are added to the cache instead of being deallocated, and the cache is searched instead of/before allocating a new segment. Both the SHM segments and their attachment with the X server are cached. The cache currently has a fixe