git: b4e483bdb06b - main - kinst: Remove an unused constant
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 14 Oct 2022 15:33:40 UTC
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=b4e483bdb06b48a65e1031d48a8d8f4019413980 commit b4e483bdb06b48a65e1031d48a8d8f4019413980 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2022-10-13 20:26:54 +0000 Commit: Mark Johnston <markj@FreeBSD.org> 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;