all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lynn Winebarger <owinebar@gmail.com>
To: emacs-devel <emacs-devel@gnu.org>
Subject: Policy on pure space-related fixes
Date: Sat, 30 Jul 2022 07:45:21 -0400	[thread overview]
Message-ID: <CAM=F=bDnJmoWJBfinO1MpgWe2k4J0XLb6M5gOCANBsmLg_V9LA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1649 bytes --]

Hi,
I reported a couple of bugs related to pure space.  One was a duplicate
that had been closed as "won't fix".  The other hasn't gotten any response,
though that could be due to the lack of details.
The one closed as "won't fix" (
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=46916) should really be
fixed, even if not by the originally submitted patch.  The response from
Eli that prompted that status was along the lines of "why not just increase
the pure space"?  The answer is: I didn't see any warnings about pure space
being exhausted, even though it turned out I was at least 12MB short.
The fix should just do away with the "small size" increment and allocate
whatever is needed, under the assumption that the user will have to
increase pure space and recompile regardless.  There are too many
assumptions in the code that test purity by distance from the base pure
address to rely on a dump where pure space is exhausted.
The other issue arose from record created by eieio that pun the type of a
class descriptor class to itself.   purecopy does not track cyclic
structures, so diverges and causes a segmentation fault.  I put in a
special case check that prevents the immediate problem, but a real solution
would have to memoize the input structure if the intent of hash consing is
to create singletons and not just read-only constants.  The singleton
property is what seems to be of interest for eieio class descriptor records.
Generally, are fixes to pure space worth submitting, given the plan to
decommission it, or will they just be ignored?  I'm still waiting on
clearance from my employer to submit patches, unfortunately.

Lynn

[-- Attachment #2: Type: text/html, Size: 1996 bytes --]

             reply	other threads:[~2022-07-30 11:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-30 11:45 Lynn Winebarger [this message]
2022-07-30 13:27 ` Policy on pure space-related fixes Eli Zaretskii
2022-08-02  6:06   ` Lynn Winebarger

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAM=F=bDnJmoWJBfinO1MpgWe2k4J0XLb6M5gOCANBsmLg_V9LA@mail.gmail.com' \
    --to=owinebar@gmail.com \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.