From nobody Mon Aug 28 00:28:23 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RYrxz538Kz4rpQ0; Mon, 28 Aug 2023 00:28:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RYrxz4NZkz3Y3q; Mon, 28 Aug 2023 00:28:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693182503; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RWgMH72T3OAEBrh1abMqZl3i0Z1M7ZC2xvKLn8YpSVA=; b=sLvDaUGYNHwoHD1EczMCZ8yhi2xUl4b4+uXAmWlh71KZByaSSwZaofcDbwl1+eOxkyBLig 3wLQbwqGWp3Nlt8+mRDALlBD6Rt1A7IG3py774SRHUd06x4wCL88Qn+exEnMkHsbEuLY8j jAJHBCbnDf+wvSXR36NnyUxqpvj9yUZnc5GmCrUuMyJdMoNqFW1d6OoPLyyfoE+ZGGqXq8 na/e8xGX0SmVxjCfViNRfZTZ/jjxJScIGjERN7DiR4s+MMtDyWcCZ/Apy0YeuNngkXf3DC pn+kQ2ldKc+Z0XnvijNk2t7xnIcjk+YmTYHcTlo3kX5/S13Heyj9Cd9EB+Q3Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693182503; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RWgMH72T3OAEBrh1abMqZl3i0Z1M7ZC2xvKLn8YpSVA=; b=t5yt4cgvE8Ra1QO+rp3+HSCpOynMISYpoahwOOCFjkLBsqhya3Byu5N9pwz3LfBBKuDi5v ++zd3ARb+Lne5odtNEJV1bhlvliOOwPyh+8TRVRoEMdN473nkGOcs9qltsnBW95UtKzRuF mxy8r+K/bsNkdM0E7s2Qg+HmyHyy5NRNzpq+ZY5In+GBVWa2hA8LHSEoiQi2/HRN6oJUFh 4O/QO/zskUJJgAtkWT2YQYRlbuwWV3qW9Jr6cgNurEuUVFRLeNv8n0FjzIbd2d2Fhr+wxx lSx4Z9t4hlIQChv11f4Auh9csh6noYd8CNvwOz3Lkj7hUicArh4LNOmwO1iS9w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693182503; a=rsa-sha256; cv=none; b=SAn/WvVxVzJ+g/2uwR2dxfufl/rSOPWUlesinhaQhsJ3LmwIhVLhNmIAEUJ9E3Kr/o6nQH nmlIaVDddYnRG5PlkZjZsrsxKN75GflL9idVu/dA+sEygbnU5XqmdBQ0ieC53HSSrmpsSy ZRPcQXjDA0563bf+CHCe07B4UF7YUpFtsH7/9ha8nSyaOEnyrbqUeGdLHwY5Im5y0GQqRM x53R64yHEVvuHAV2hHrzV+TVDcgMUwEgbJtKRFTWUXcxUssqGPX8ctNklMbCfRG4CWUx29 BXpIoJEAAQX2+ewxBNnv/B8kKVjpVNasopDIVvUTJUl2f20gAkVspksqlkSjZw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RYrxz3SxDzn1g; Mon, 28 Aug 2023 00:28:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37S0SNJW069751; Mon, 28 Aug 2023 00:28:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37S0SNa5069748; Mon, 28 Aug 2023 00:28:23 GMT (envelope-from git) Date: Mon, 28 Aug 2023 00:28:23 GMT Message-Id: <202308280028.37S0SNa5069748@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 0c8823bad5fe - stable/13 - rtld_malloc: increase overhead index to uint16 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 0c8823bad5fed948d5c551ac0f48de96fe7653b1 Auto-Submitted: auto-generated The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=0c8823bad5fed948d5c551ac0f48de96fe7653b1 commit 0c8823bad5fed948d5c551ac0f48de96fe7653b1 Author: Konstantin Belousov AuthorDate: 2023-07-25 12:54:45 +0000 Commit: Konstantin Belousov CommitDate: 2023-08-28 00:27:48 +0000 rtld_malloc: increase overhead index to uint16 (cherry picked from commit d60130bf32a3c35417f276507dcdfa569397dae3) --- libexec/rtld-elf/rtld_malloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libexec/rtld-elf/rtld_malloc.c b/libexec/rtld-elf/rtld_malloc.c index 1246238b3941..ac8af4d6b6e1 100644 --- a/libexec/rtld-elf/rtld_malloc.c +++ b/libexec/rtld-elf/rtld_malloc.c @@ -75,8 +75,8 @@ static caddr_t pagepool_start, pagepool_end; union overhead { union overhead *ov_next; /* when free */ struct { - u_char ovu_magic; /* magic number */ - u_char ovu_index; /* bucket # */ + uint16_t ovu_index; /* bucket # */ + uint8_t ovu_magic; /* magic number */ } ovu; #define ov_magic ovu.ovu_magic #define ov_index ovu.ovu_index