[sheepdog] [PATCH] local: do not zero the event queue

Liu Yuan namei.unix at gmail.com
Mon May 21 04:40:30 CEST 2012


On 05/21/2012 01:51 AM, Christoph Hellwig wrote:

> Reading, including through mmap from sparse files always returns zeroes,
> so there is no need to memset the shm queue.  Zeroing it causes backing
> pages to be allocated to it in tmpfs, and thus increases the memory
> usage for a not fully used queue.


Applied, thanks.

Yuan



More information about the sheepdog mailing list