From owner-svn-src-all@freebsd.org Sat Nov 7 01:19:32 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A131D2D9EDB; Sat, 7 Nov 2020 01:19:32 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from maybe.home.utahime.org (gate.home.utahime.org [183.180.29.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CSfYc2qYwz3Kht; Sat, 7 Nov 2020 01:19:32 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by maybe.home.utahime.org (Postfix) with ESMTPS id 7EF652848E; Sat, 7 Nov 2020 10:19:28 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=utahime.org; s=maybe2019112701; t=1604711968; bh=+iqQo5L9KLbFiaqVNu50w9JjdV7d7IaGnl1wb0Bo5m4=; h=Date:To:Cc:Subject:From:In-Reply-To:References; b=qaWCeta9lo0FxzzyfDlBvehBlsJnuqsaUJ1uTNDKpIff1N7RPO+d3uioQcH64+PYN QE097HkDFmGSdvMWca1FALfGVlKzymbmqcPlx9doVGOKpSd2UoBHdwtMQVvG+J/t/k 7sYybsDt1neP+/NcJDJpULinEQ3sx/lHTqxDL09YEpCJ5oFaAPXxZ0KYqYKpHnxyjO fdF0vAyQsSacQnwg6H6S86PP9CIrBeFGcLhCKGJHIX7uAfuK8X3oVQl0LRQcIKpE7m t66B+PQbUK2AtWvU/pshk4TntVEB2chgCyz9wEgoaURt3rW1lzgEG8JBtlc3ehmgne GB28w9sxiUQgA== Received: from localhost (rolling.home.utahime.org [192.168.174.11]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by eastasia.home.utahime.org (Postfix) with ESMTPSA id CC0393B30C; Sat, 7 Nov 2020 10:19:25 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.0 at eastasia.home.utahime.org Date: Sat, 07 Nov 2020 10:18:25 +0900 (JST) Message-Id: <20201107.101825.1779017732143423450.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 From: Yasuhiro KIMURA In-Reply-To: <202011062133.0A6LXxvo081199@repo.freebsd.org> References: <202011062133.0A6LXxvo081199@repo.freebsd.org> X-Mailer: Mew version 6.8 on Emacs 27.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4CSfYc2qYwz3Kht X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2020 01:19:32 -0000 From: Mateusz Guzik 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