[PATCH][RFC] FDI mmap optimization
Sergey Lapin
slapinid at gmail.com
Wed Dec 13 08:31:05 PST 2006
Danny Kukawka wrote:
> Anyway, on the first lock at the patch I would say this part is not the best
> idea:
> + if((tmpdir = getenv("TMPDIR")) == NULL) {
> + tmpdir = "/tmp";
> + }
> + cachename = g_strconcat(tmpdir, "/fdi_cache", NULL);
>
> IMO hal should create such a file better e.g. under /var/run/hal/ or /var/tmp
will configure option like --with-mmap-cache-dir to set it be appropriate?
I'll provide statiscics in a few minutes.
More information about the hal
mailing list