Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Aug 2023 00:37:14 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 9c6201717124 - stable/13 - rtld_malloc: remove outdated comments
Message-ID:  <202308020037.3720bEhH060561@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=9c6201717124d1d3dc125b7ea392bdd25894b9f4

commit 9c6201717124d1d3dc125b7ea392bdd25894b9f4
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-07-22 04:13:58 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-08-02 00:36:39 +0000

    rtld_malloc: remove outdated comments
    
    (cherry picked from commit a24726a6f3b43473093267e2b4e81d186817dc7d)
---
 libexec/rtld-elf/rtld_malloc.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/libexec/rtld-elf/rtld_malloc.c b/libexec/rtld-elf/rtld_malloc.c
index d08254b67d9f..0eec68f35402 100644
--- a/libexec/rtld-elf/rtld_malloc.c
+++ b/libexec/rtld-elf/rtld_malloc.c
@@ -68,10 +68,6 @@ static caddr_t		pagepool_start, pagepool_end;
  * contains a pointer to the next free block, and the bottom two bits must
  * be zero.  When in use, the first byte is set to MAGIC, and the second
  * byte is the size index.  The remaining bytes are for alignment.
- * If range checking is enabled then a second word holds the size of the
- * requested block, less 1, rounded up to a multiple of sizeof(RMAGIC).
- * The order of elements is critical: ov_magic must overlay the low order
- * bits of ov_next, and ov_magic can not be a valid ov_next bit pattern.
  */
 union	overhead {
 	union	overhead *ov_next;	/* when free */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308020037.3720bEhH060561>