From 9c9d589ea310f1290e4d6d2019fc8b51d9a86e42 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 9 Oct 2023 14:57:18 +0300 Subject: move rpc stack handling to arch-specific code + Fairly considerable speedup, as we don't have to look up the rpc pte every time separately, instead cacheing them. Adds an architecture specific limitation to total rpc stack size, though. --- arch/riscv64/config.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'arch/riscv64/config.h') diff --git a/arch/riscv64/config.h b/arch/riscv64/config.h index a2694d5..765aa6b 100644 --- a/arch/riscv64/config.h +++ b/arch/riscv64/config.h @@ -73,9 +73,6 @@ /** User virtual memory space end. */ #define UVMEM_END (SZ_256G - SZ_8G) -/** RPC stack top. */ -#define RPC_STACK_TOP (UVMEM_END + SZ_1G) - /** RPC stack base. */ #define RPC_STACK_BASE (UVMEM_END) -- cgit v1.3