Use posix_fadvise to speed startup
authorKeith Packard <keithp@keithp.com>
Mon, 16 Apr 2012 18:28:36 +0000 (11:28 -0700)
committerAkira TAGOH <akira@tagoh.org>
Tue, 17 Apr 2012 03:20:25 +0000 (12:20 +0900)
commit9e62fcedfe774a13843cc0982bc3e535369b99eb
tree34587b65b5452cc2efe0df938afeef18b32429fe
parent94c2cc58a091138aa8c507d6239eca69520b65f0
Use posix_fadvise to speed startup

Given that fontconfig will scan all of the cache file data during the
first font search, ask the kernel to start reading the pages right away.

Signed-off-by: Keith Packard <keithp@keithp.com>
configure.in
src/fccache.c