Re: [PATCH] xwayland: Group multiple cursor buffers per shm pool

2015-12-04 Thread Kristian Høgsberg
On Tue, Dec 1, 2015 at 7:48 AM, Rui Matos wrote: > Each shm pool implies a file descriptor which means that currently, we > can quickly exhaust the available FDs since we create a shm pool per > cursor buffer. Instead, this patch creates shm pools big enough to > contain

[PATCH] xwayland: Group multiple cursor buffers per shm pool

2015-12-01 Thread Rui Matos
Each shm pool implies a file descriptor which means that currently, we can quickly exhaust the available FDs since we create a shm pool per cursor buffer. Instead, this patch creates shm pools big enough to contain multiple cursor buffers to avoid hitting the FD limit on reasonable workloads. On