[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19393: 25.0.50; Emacs cannot determine coding system of ISO-8859 enc
From: |
Lars Ingebrigtsen |
Subject: |
bug#19393: 25.0.50; Emacs cannot determine coding system of ISO-8859 encoded files |
Date: |
Mon, 07 Sep 2020 23:30:18 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Wolfgang Jenkner <wjenkner@inode.at> writes:
> * src/buffer.c (MAP_EXCL): Make sure it is always defined.
> (MMAP_ALLOCATED_P, mmap_enlarge): Use it.
> This alleviates a performance problem due to excessive use of
> memcpy(3). (Bug#19393)
[...]
> - MAP_ANON | MAP_PRIVATE | MAP_FIXED, mmap_fd, 0);
> + MAP_ANON | MAP_EXCL | MAP_PRIVATE | MAP_FIXED, mmap_fd, 0);
This patch apparently made loading huge files on FreeBSD a lot faster,
but as far as I can tell, it was never applied.
This was five years ago, though -- Wolfgang, is this still a problem on
FreeBSD?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#19393: 25.0.50; Emacs cannot determine coding system of ISO-8859 encoded files,
Lars Ingebrigtsen <=