From nobody Mon Jul 18 18:43:45 2022 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 4LmrTF4dXmz4WswB; Mon, 18 Jul 2022 18:43:45 +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 4LmrTF451cz3gLs; Mon, 18 Jul 2022 18:43:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658169825; 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=815fE0EWtlG5S2EKpWnTdQACT9Qyvz8y/+aIBZW9vFg=; b=l2r3xce0e/0PXoRBs159eDx5SMPWrydZuH4gP8SXhe72F3V+Ip3XzOXtrgYdLVJv0ibaTn CxcjGpewv+xxkCagNdFtKm5Zxgzst17MrnPp9PQCIVD33xC08CTUon5+mXo57TK8PEXpUJ iSVRYhyZnDbv/BemYNL7g0RTWdDe6T+QXuD/J9PVNzxF7bV8YwLvW6KJsUtSkUj9QarZbZ RA13UZiUoH6BWZJHO2XLMjOFrAAzxUFtp1j+5hjqh9AFK+3GRN5R9792svV3yCCRbFxLhu T1uH2V4KGvZkT/pxdNzzADb612IDwJ0dI3u2PclnPdqLWMPRhTQnVUGlhV82CQ== 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 4LmrTF36P4zpqb; Mon, 18 Jul 2022 18:43:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 26IIhjfG075141; Mon, 18 Jul 2022 18:43:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26IIhjTW075140; Mon, 18 Jul 2022 18:43:45 GMT (envelope-from git) Date: Mon, 18 Jul 2022 18:43:45 GMT Message-Id: <202207181843.26IIhjTW075140@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: f5ad538d9067 - main - i386: fix pmap_trm_arena_last atomic load type 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: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f5ad538d90673b0247b571deb38825bc6822cf20 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658169825; 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=815fE0EWtlG5S2EKpWnTdQACT9Qyvz8y/+aIBZW9vFg=; b=cmZT9+06KT0T5FRYb6gbbAZNLr1iwme78TuYGJjw57z7QXjEYKonYIoLYAXZL3394Pp/Wi emjLTGOZXp5WHKMn56yX8N+kuSNNOjEH4GvK51hKBm8B62iYBbDmjYsPtdMjUNMb+wX9i8 uDmj4hHZ0wuqbGls9ngn+YosELhj+9R3usl9J5DW/RL1XcB/EaOizX+JF07kaCaKfEWXV4 rhfKSYQn7jbhY1MMAC2diAe8CaFJKBaVsSYYsjO0fqWTBksYwWtZ2qXzaeM6ZpE1PSI79S IcrCJTRIXOOLmDZSW78rAGJ+0TCgy7H+6ZXacVE36fz6NYMLwVJrBv7SVQQDFg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658169825; a=rsa-sha256; cv=none; b=m5fKq1CYjGroCDzQuMKoIr936LoMf8JoDl4dBHW9IoBL8I2HFybyo0WwONZdqjViUREGIn /5/ZVkxYEPT810mwJW77b5V1vaU36YTn722352i+PZicqNpm55E429FZkVZ+szftvCvvUO 23cs0Od/KHWhK3twNjblxW/mr/0no4ZPLqwaW8XzvTITZ2SoadLQZka90lJ7Jr3hX+tk4z 4sBAjitfInl/W6L0WduBAKaEFt+h23XWpGCtU4M4G0dbjj/jVh6py9KeFtNvvckdr6SLkV 2NZh6o/Z/52gxP1xZ5Xe5gfUOUUahxOZmvOiV363M9AulUeqnyJLgmJaR+0HFw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=f5ad538d90673b0247b571deb38825bc6822cf20 commit f5ad538d90673b0247b571deb38825bc6822cf20 Author: Mateusz Guzik AuthorDate: 2022-07-18 18:42:40 +0000 Commit: Mateusz Guzik CommitDate: 2022-07-18 18:43:39 +0000 i386: fix pmap_trm_arena_last atomic load type Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/i386/i386/pmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c index 6525c51a3127..eaff33bafe84 100644 --- a/sys/i386/i386/pmap.c +++ b/sys/i386/i386/pmap.c @@ -5894,7 +5894,7 @@ pmap_trm_import(void *unused __unused, vmem_size_t size, int flags, vmem_addr_t af, addr, prev_addr; pt_entry_t *trm_pte; - prev_addr = atomic_load_long(&pmap_trm_arena_last); + prev_addr = atomic_load_int(&pmap_trm_arena_last); size = round_page(size) + trm_guard; for (;;) { if (prev_addr + size < prev_addr || prev_addr + size < size ||