Date: Sat, 07 Nov 2020 10:18:25 +0900 (JST) From: Yasuhiro KIMURA <yasu@utahime.org> To: mjg@FreeBSD.org Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r367432 - in head: lib/libmemstat sys/cddl/dev/dtmalloc sys/kern sys/sys Message-ID: <20201107.101825.1779017732143423450.yasu@utahime.org> In-Reply-To: <202011062133.0A6LXxvo081199@repo.freebsd.org> References: <202011062133.0A6LXxvo081199@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
From: Mateusz Guzik <mjg@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201107.101825.1779017732143423450.yasu>