X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=src%2Ffccache.c;h=a6b532fa118c148c7eb80b49bf362941e2f79da4;hb=144ca878311af885db820a35db31563ba87ee6ad;hp=42c70821748819cd7dbcdd932aed2c1884d24907;hpb=db6f19f13b1719617c54a1658b8faa31da56e1d4;p=fontconfig.git diff --git a/src/fccache.c b/src/fccache.c index 42c7082..a6b532f 100644 --- a/src/fccache.c +++ b/src/fccache.c @@ -454,7 +454,8 @@ FcDirCacheMapFd (int fd, struct stat *fd_stat, struct stat *dir_stat) if (cache) return cache; /* - * For small cache files, just read them into memory + * Lage cache files are mmap'ed, smaller cache files are read. This + * balances the system cost of mmap against per-process memory usage. */ if (fd_stat->st_size >= FC_CACHE_MIN_MMAP) {