projects
/
platform
/
upstream
/
fontconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db6f19f
)
Comment about mmaping cache files was misleading.
author
Keith Packard
<keithp@koto.keithp.com>
Thu, 18 Oct 2007 11:29:13 +0000
(
04:29
-0700)
committer
Keith Packard
<keithp@koto.keithp.com>
Thu, 18 Oct 2007 11:29:13 +0000
(
04:29
-0700)
src/fccache.c
patch
|
blob
|
history
diff --git
a/src/fccache.c
b/src/fccache.c
index
42c7082
..
a6b532f
100644
(file)
--- 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)
{