From nobody Fri Oct 14 15:33:40 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 4Mpr5J2N6Kz4fhPl; Fri, 14 Oct 2022 15:33:40 +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 4Mpr5J1r0wz49L6; Fri, 14 Oct 2022 15:33:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665761620; 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=/jaLNhR7t6jnhQN4Rqq6ONv4LAgLfCdCtXCNt8rMtjE=; b=pfER91PKAQ7BQgBoEzcaZl0ZYDsYUyxbS/nstkmL9verq/2ZP+MraDbar+CHJALcB+vGua yb3iFJ3ZlW7rMovjQAqcGapIJQQR/cvdZzCVj38P2u5D7ST/346KmCM541HB96KhqNPt/8 5lGnnAp0sXSkzS3QCgPdB0ZFoqth0KUW/FuEaMJAHM7paPkqrq3bHtHZ9+tsLjlaYyf9u3 GMdlVJes7QEoLig54H6CGRJqGM0GwWaoqT8von1+SK5tGZYU3iVO9rCASPt5MRqc+Gr+uv 5Q2z8qtyxytC3+vzvYP0F4lXY+R+mOQVwI8TRgtzTRQUwmVA58l/aZsXek11cQ== 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 4Mpr5J0sPxzptP; Fri, 14 Oct 2022 15:33:40 +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 29EFXe75001524; Fri, 14 Oct 2022 15:33:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29EFXeZD001523; Fri, 14 Oct 2022 15:33:40 GMT (envelope-from git) Date: Fri, 14 Oct 2022 15:33:40 GMT Message-Id: <202210141533.29EFXeZD001523@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: b4e483bdb06b - main - kinst: Remove an unused constant 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: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b4e483bdb06b48a65e1031d48a8d8f4019413980 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665761620; 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=/jaLNhR7t6jnhQN4Rqq6ONv4LAgLfCdCtXCNt8rMtjE=; b=gN7W6lg5qLVElnFih3pZKGvgwrnqru5Uyd2p7/SM+IBJEAP4rJcQ6vh1RflIrfEHYhzj8d H/CMG+JMS1qyG8XONXpGQkb32QEz0nOc0TwIXkX+9CEfvY9eVI0kbb90vdE6L2Uxg98pgd /iiHqlK798R7TovLV2cm9NaFLn/swZMzvNtUwHKbwGiYZq5Awplt2yqt7tFknWfCRgYlmV bloD8cxn8C+WfCcqOiIhZl9wFA/MeTMHfQE6qc1W3K8Ccy585QufNQPNtcooEXQn80KQtm QxkUcrolBzviaUntP75Enl0cxvmBK3/yHRmFlYmSuBGwJ8jmdfxaYCKIkE0jDA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665761620; a=rsa-sha256; cv=none; b=kFdtGWhQGLsZQdPWZ0KclowTaAwBladQsaJFfZWF9t9mjuLkwcYnCs3jeImn+WBP9EQ2qD nA/0VI5+wVPvAk1L+ReRot5vPwldnsdVA9KWgQJg+WpP/vMm+VwFUTJeDAUWCOG9sdIuBA D2oIomIkz6MsHl7/Lr3frTTePRNBNJrbYLWfeFw9ppcvfMlomdLkJ7Jmbt4lLGYRkVh+S0 Hb6AuQucPuBZ4audC3qCvJq57KEyGpr75+ihCpb7PIkTjIqSiEKrukB0zBjgSfwzYHalmM 5HIyi057B5+MxoOjXdIzQyNHURjnZeoRRKyqq+9l/+nDUYdLUSDjBhr4XKPkzA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=b4e483bdb06b48a65e1031d48a8d8f4019413980 commit b4e483bdb06b48a65e1031d48a8d8f4019413980 Author: Mark Johnston AuthorDate: 2022-10-13 20:26:54 +0000 Commit: Mark Johnston CommitDate: 2022-10-14 15:32:46 +0000 kinst: Remove an unused constant This was left over after a rework of the trampoline allocator. Fixes: f0bc4ed144fc ("kinst: Initial revision") --- sys/cddl/dev/kinst/trampoline.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sys/cddl/dev/kinst/trampoline.c b/sys/cddl/dev/kinst/trampoline.c index 7c8ff5f48903..094b055f1b14 100644 --- a/sys/cddl/dev/kinst/trampoline.c +++ b/sys/cddl/dev/kinst/trampoline.c @@ -32,11 +32,6 @@ * We can have 4KB/32B = 128 trampolines per chunk. */ #define KINST_TRAMPS_PER_CHUNK (KINST_TRAMPCHUNK_SIZE / KINST_TRAMP_SIZE) -/* - * Set the object size to 2GB, since we know that the object will only ever be - * used to allocate pages in the range [KERNBASE, 0xfffffffffffff000]. - */ -#define KINST_VMOBJ_SIZE (VM_MAX_ADDRESS - KERNBASE) struct trampchunk { TAILQ_ENTRY(trampchunk) next;