emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scratch/no-purespace e80868ced1b 02/11: Fixup for "Unexec removal: Main


From: Pip Cet
Subject: scratch/no-purespace e80868ced1b 02/11: Fixup for "Unexec removal: Main part"
Date: Wed, 21 Aug 2024 05:57:04 -0400 (EDT)

branch: scratch/no-purespace
commit e80868ced1b7820246bf4b35bbe7a0b5dc04c159
Author: Pip Cet <pipcet@protonmail.com>
Commit: Pip Cet <pipcet@protonmail.com>

    Fixup for "Unexec removal: Main part"
    
    Add this line to the commit message of "Unexec removal: Main part":
    
    (mmap_lisp_allowed_p): Remove unexec-specific code.
---
 src/alloc.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/alloc.c b/src/alloc.c
index 86ab0f89fc7..ffe68392c03 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -586,10 +586,8 @@ mmap_lisp_allowed_p (void)
 {
   /* If we can't store all memory addresses in our lisp objects, it's
      risky to let the heap use mmap and give us addresses from all
-     over our address space.  We also can't use mmap for lisp objects
-     if we might dump: unexec doesn't preserve the contents of mmapped
-     regions.  */
-  return pointers_fit_in_lispobj_p () && !will_dump_with_unexec_p ();
+     over our address space.  */
+  return pointers_fit_in_lispobj_p ();
 }
 #endif
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]