From nobody Mon Aug 08 19:09:14 2022 X-Original-To: dev-commits-src-branches@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 4M1m2y4LvWz4Yqnp; Mon, 8 Aug 2022 19:09:14 +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 4M1m2y3n8Qz3fLn; Mon, 8 Aug 2022 19:09:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659985754; 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=x0UWAcnVSqxUfGOVJn/Rm83XI6h7COybDWwO+msitt0=; b=eE2xCqsurpx8BiPhYUpe4vTSFS0GDzB6pCQlyRnsZTfuXc5zlghLts4V7gjOZTbLS5YbsS 4hcnEcwL8dLqOO5aLO7mpjoH/8CDn4vI4tB8eUYT9kCoKFR1llA9gfYfnA7an3qO5EQIJk yxCEXvKRfPfFgbm9rNkRDAiF2eVUITs3YZlAXjU2Hjl1gXR1pV6nLz+tIWIxIJnsDHjvgl y3KOblIhJBjK4IhURrbaxuFvUKu/mdaoCbxbRFLX+nCPTDGYsFI9jClmkwGG04aHHf9n1s Zjn0mPcy7rBZxMQP6CL16eqyJZw76PcBYJGvAwzCZgDiR9JCNIds4IsFaQrKLQ== 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 4M1m2y2rpBz12ry; Mon, 8 Aug 2022 19:09:14 +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 278J9ERf097507; Mon, 8 Aug 2022 19:09:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 278J9E51097506; Mon, 8 Aug 2022 19:09:14 GMT (envelope-from git) Date: Mon, 8 Aug 2022 19:09:14 GMT Message-Id: <202208081909.278J9E51097506@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 4252aea1d20b - stable/13 - i386: fix pmap_trm_arena_last atomic load type List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 4252aea1d20bda8440fef933a78c16252cf97aa9 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659985754; 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=x0UWAcnVSqxUfGOVJn/Rm83XI6h7COybDWwO+msitt0=; b=G/HFxyQJ9HRc0qNHiKeSSfXHelR00RuKBXEIOpw/sYLocB/fj6qCEieQiJBtjdsim53coX XcR+v4QmixLkTjGM2uqcACFbXxaI1017uvEay/p9DgCc3pIzylNUw+8qm/hDcbhIJ5cfxo JK0WtTlwnVlWfDKhsoZXtsRgeR5uwhzIGFrtWfCu40D8R+pBEMaWltE+HrT9N8Bm3Ya3tK 5dvRXvqjKQKzm8p0w4F6KgLrDBpM7lQ5psNh4Uf3o44GqOqOUPlbfUWwDFNAFOu1gzM6R/ gKAd3jEc0zd3Eohb+1gl7HeqgkUjLP1Bt5SgLweW1qIXzZGY6AttXIP2TAbZmw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659985754; a=rsa-sha256; cv=none; b=a2Vc52RoswpIv3OcbO0VF+i6l7NiJZvZYtCTNL+cufKVqFzj6SXuXrG24AAnbN4rf+3aqm wk7R7eaZTRMH6SWEOtjx6I8XK0csrQeTbds+VY/CcaMh8m6Pzl49qUQJQ/ZCnV+vp3E71U aDOVyxyZDwTYFlCqR7BodazqZgGV1dnuOzbnhqQZf9npt0KSDefqmGlaelaLgeQERJzUWP MisBfR0FMExcT0alO25q6XFxZ1QxRr8LrMhrLwRR1R0sloZB8jXna/OMEzpC3tJUeMF1qQ tg7R/GkzCraP53ANROx8Dr+raTyR+Thiz6pKIlBiWteLjOLHqJDMYnD8nlI6Ng== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=4252aea1d20bda8440fef933a78c16252cf97aa9 commit 4252aea1d20bda8440fef933a78c16252cf97aa9 Author: Mateusz Guzik AuthorDate: 2022-07-18 18:42:40 +0000 Commit: Mark Johnston CommitDate: 2022-08-08 15:00:32 +0000 i386: fix pmap_trm_arena_last atomic load type Sponsored by: Rubicon Communications, LLC ("Netgate") (cherry picked from commit f5ad538d90673b0247b571deb38825bc6822cf20) --- 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 23bac689f558..a3af2e7180fc 100644 --- a/sys/i386/i386/pmap.c +++ b/sys/i386/i386/pmap.c @@ -5890,7 +5890,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 ||