Commit 144ca878 authored by Keith Packard's avatar Keith Packard
Browse files

Comment about mmaping cache files was misleading.

parent db6f19f1
...@@ -454,7 +454,8 @@ FcDirCacheMapFd (int fd, struct stat *fd_stat, struct stat *dir_stat) ...@@ -454,7 +454,8 @@ FcDirCacheMapFd (int fd, struct stat *fd_stat, struct stat *dir_stat)
if (cache) if (cache)
return 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) if (fd_stat->st_size >= FC_CACHE_MIN_MMAP)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment