[SSSD] Re: Question about memory mapped cache

2017-11-13 Thread Sumit Bose
On Thu, Nov 09, 2017 at 12:23:24PM +0100, Michal Židek wrote: > On 11/08/2017 11:28 AM, Sumit Bose wrote: > > Hi, > > > > while trying to prepare some diagrams to illustrate how the memory mapped > > cache works I realized that we might not use the payload factor as > > expected. > > > > In sss_m

[SSSD] Re: Question about memory mapped cache

2017-11-09 Thread Michal Židek
On 11/08/2017 11:28 AM, Sumit Bose wrote: Hi, while trying to prepare some diagrams to illustrate how the memory mapped cache works I realized that we might not use the payload factor as expected. In sss_mmap_cache_init() we set a payload depending of the type of cached data, e.g. for passwd da