[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetype] Use of mmap considered harmful
From: |
David Turner |
Subject: |
Re: [Freetype] Use of mmap considered harmful |
Date: |
Thu, 11 Apr 2002 17:32:37 +0200 |
Hi,
Juliusz Chroboczek a écrit :
>
> "Pavel Kankovsky" <address@hidden>:
>
> >> Current stable Linux releases do not support mmap from NTFS.
>
> PK> NTFS is an *experimental* feature in current stable Linux releases (and
> PK> will probably stay experimental for a while), right?!
>
> It's rock solid in read-only mode, and a number of distributions will
> automatically insert NTFS partitions in fstab at installation.
>
> But you're right, officially it's still experimental.
>
I suggest to modify the Unix-specific file in "builds/unix/ftsystem.c"
to use the standard Unix i/o if memory-mapped access fails. I still
_do_ notice a performance difference between direct file and memory-map
on low end machines (including my laptop running Debian :-)
Regards,
- David Turner