svn commit: r367432 - in head: lib/libmemstat sys/cddl/dev/dtmalloc sys/kern sys/sys
Yasuhiro KIMURA
yasu at utahime.org
Sat Nov 7 01:19:32 UTC 2020
From: Mateusz Guzik <mjg at FreeBSD.org>
Subject: svn commit: r367432 - in head: lib/libmemstat sys/cddl/dev/dtmalloc sys/kern sys/sys
Date: Fri, 6 Nov 2020 21:33:59 +0000 (UTC)
> Author: mjg
> Date: Fri Nov 6 21:33:59 2020
> New Revision: 367432
> URL: https://svnweb.freebsd.org/changeset/base/367432
>
> Log:
> malloc: move malloc_type_internal into malloc_type
>
> According to code comments the original motivation was to allow for
> malloc_type_internal changes without ABI breakage. This can be trivially
> accomplished by providing spare fields and versioning the struct, as
> implemented in the patch below.
>
> The upshots are one less memory indirection on each alloc and disappearance
> of mt_zone.
>
> Reviewed by: markj
> Differential Revision: https://reviews.freebsd.org/D27104
With this commit kernel panic happens on amd64 as following.
https://www.utahime.org/FreeBSD/FreeBSD.13-CURRENT.amd64.r367432.panic.png
---
Yasuhiro KIMURA
More information about the svn-src-all
mailing list