From nobody Sun Nov 17 11:07:47 2024 X-Original-To: dev-commits-src-main@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 4XrnzS1jM7z5djmQ; Sun, 17 Nov 2024 11:07:48 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XrnzS0f06z49Bj; Sun, 17 Nov 2024 11:07:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731841668; 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=KQ7ZaTnIDkDPUhl3Tz6sA2HW3LZd/8cbi3e+MCSxYpA=; b=FzO+kv69cjq4FmOAWm1FTAveeksFmpyJAjWbZoROim9sOaniaeqir7jelxMvoIp9OjJ2/2 zv19evSUqRCUWHR5GXImKNB9PLNUMgsz7EZdmYfUgm5PKPKirTIqrYajt/RV21Xjj+Nc8r isNEBuEemcv5tYAiK7q0DRb8vvj6bR+jQzYQAELcEOlFLwgOffeSCOWO8BeRFe03orzIuV 5ppjj5uDTg7N2P+eA2SLKfk5CEOYhFU++SofeUgzp+/WnAMQpYMYNYgCj1WZb9zSEvS2OG IfoAK8OHYet2G24oooA2bH6VSp4G46HTtnLCJ861E2BrIBqiuQTVVImgUC7k7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731841668; 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=KQ7ZaTnIDkDPUhl3Tz6sA2HW3LZd/8cbi3e+MCSxYpA=; b=ynFkGsPLgHNZ3FA5HDeLJOmP9tpg+cc5V11HT3YjwZjEZpAxDNrlFa1VegaKvdvviAORQa 4nDZ7H97sGo3Hz94jMYW2PkHI4yto3cXIx5qppLA1zWCUb2MuoadUCEv1734FzU1vuRAkv R0SVLzyzK/LHFC9AzSofOmgwv63ZkcuJHv/vokr4QoN37HPx7o5E+hZYJMsIyVuCLcd5CJ 4AjrokgOBxWmzNUBcVcBpEQ1nqkhrTBh+7Pt35t0n7U9T9ayy6HAvjtQjl9mglPJeQONF5 7JFUBusvmeJTdCACqashIaNq0bJD8u6IFZyI2DzLg4pEVzSM5P8X9ESOiCOquQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731841668; a=rsa-sha256; cv=none; b=j9TRhB2cfDIgmVlDun6kex0zRaXfaHsgtrPQghV0qotQNmWqIzvSez0/1M/o2H9GZxnYCu x9uVrnCJN5bPhgEl8tGWzz3h8kU1vX2kuY80KkSCJk+ptQTaVpt7bWuT1Poss3EPbDNtid 0kfzDH8++Hy1L6onvSpTNO667amte8GVQGm1ZioxsJLXLTpK55r0Jd6VOroG0okxKM/+k2 QaP5CY6LEpTVCivoZSiuLbg27VevQiqEK7004RMfS6F3txZ9fgdIOKexAnXSK1Uw9RDdOT UmJQJMbxNzWev00Rblzx/FY75Px07B89ovuH9z1ByrSDd8WG9Egmn1G1kYaNvg== 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 4XrnzS03yvzp0y; Sun, 17 Nov 2024 11:07:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AHB7ls5001241; Sun, 17 Nov 2024 11:07:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AHB7lVS001238; Sun, 17 Nov 2024 11:07:47 GMT (envelope-from git) Date: Sun, 17 Nov 2024 11:07:47 GMT Message-Id: <202411171107.4AHB7lVS001238@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Michal Meloun Subject: git: d98a18d032e6 - main - arm: add read_frequently, read_mostly and exclusive_cache_line sections to linker script. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mmel X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d98a18d032e6ed3dbae30233d217c6597000e391 Auto-Submitted: auto-generated The branch main has been updated by mmel: URL: https://cgit.FreeBSD.org/src/commit/?id=d98a18d032e6ed3dbae30233d217c6597000e391 commit d98a18d032e6ed3dbae30233d217c6597000e391 Author: Michal Meloun AuthorDate: 2024-11-17 10:39:19 +0000 Commit: Michal Meloun CommitDate: 2024-11-17 11:05:14 +0000 arm: add read_frequently, read_mostly and exclusive_cache_line sections to linker script. MFC after: 1 week --- sys/conf/ldscript.arm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/sys/conf/ldscript.arm b/sys/conf/ldscript.arm index 6ccd99d44a77..aceaf0bdedb0 100644 --- a/sys/conf/ldscript.arm +++ b/sys/conf/ldscript.arm @@ -82,6 +82,21 @@ SECTIONS *(.data) *(.gnu.linkonce.d*) } + . = ALIGN(64); + .data.read_frequently : + { + *(SORT_BY_ALIGNMENT(.data.read_frequently)) + } + .data.read_mostly : + { + *(.data.read_mostly) + } + . = ALIGN(64); + .data.exclusive_cache_line : + { + *(.data.exclusive_cache_line) + } + . = ALIGN(64); .data1 : { *(.data1) } . = ALIGN(32 / 8); .init_array :