From: Miles Bader <miles@gnu.org>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: USE_LSB_TAG and MS-DOS
Date: Mon, 17 May 2004 18:31:03 -0400 [thread overview]
Message-ID: <20040517223103.GD6421@fencepost> (raw)
In-Reply-To: <jwv1xlj6na0.fsf-monnier+emacs@gnu.org>
On Mon, May 17, 2004 at 12:22:15PM -0400, Stefan Monnier wrote:
> No, the code is currently not using memalign. The use of memalign would
> only be for cases where malloc is not known to return
> multiple-of-8 pointers.
We should be very careful though -- because historically things like memalign
were implemented as dumb wrappers around malloc, they can behave very badly;
here's what the GNU Libc manual says:
With the GNU library, you can use `free' to free the blocks that
`memalign', `posix_memalign', and `valloc' return. That does not work
in BSD, however--BSD does not provide any way to free such blocks.
I think memalign should only be used for specific system types where we know
it's implemented in a reasonable manner.
-Miles
--
We have met the enemy, and he is us. -- Pogo
next prev parent reply other threads:[~2004-05-17 22:31 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-15 13:07 USE_LSB_TAG and MS-DOS Eli Zaretskii
2004-05-15 15:10 ` Jason Rumney
2004-05-15 18:24 ` Eli Zaretskii
2004-05-17 8:13 ` Jason Rumney
2004-05-17 8:45 ` YAMAMOTO Mitsuharu
2004-05-18 20:34 ` Jason Rumney
2004-05-17 10:13 ` Eli Zaretskii
2004-05-17 10:30 ` Jason Rumney
2004-05-16 23:40 ` Stefan Monnier
2004-05-17 6:10 ` Eli Zaretskii
2004-05-17 16:22 ` Stefan Monnier
2004-05-17 22:31 ` Miles Bader [this message]
2004-05-18 13:36 ` Stefan Monnier
2004-05-18 15:00 ` Eli Zaretskii
2004-05-18 14:59 ` Andreas Schwab
2004-05-18 15:13 ` Stefan Monnier
2004-05-18 18:45 ` Eli Zaretskii
2004-05-18 19:12 ` Stefan Monnier
2004-05-19 6:25 ` Eli Zaretskii
2004-05-20 16:34 ` Eli Zaretskii
2004-05-18 15:08 ` Eli Zaretskii
2004-05-18 15:18 ` Stefan Monnier
2004-05-18 15:09 ` Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2004-05-18 19:08 Michael Mauger
2004-05-18 22:10 ` Stefan Monnier
2004-05-18 23:32 ` Jason Rumney
2004-05-19 14:58 ` Michael Mauger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040517223103.GD6421@fencepost \
--to=miles@gnu.org \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).