From 363d0ec55f1d7e0d44f14cb1d63fdca4bc72efde Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 9 Oct 2023 16:13:47 +0300 Subject: experimenting with removing lists threads per proc + Gives a very slight improvement to RPC speeds, but mostly cleans up code a little bit. --- arch/riscv64/include/tcb.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/riscv64/include') diff --git a/arch/riscv64/include/tcb.h b/arch/riscv64/include/tcb.h index a804175..f0cce37 100644 --- a/arch/riscv64/include/tcb.h +++ b/arch/riscv64/include/tcb.h @@ -16,7 +16,11 @@ struct arch_tcbd { /** Extra scratch register. */ long scratch; + /** RPC stack page table leaf node. */ struct vmem *rpc_leaf; + + /** Index into \p rpc_leaf with the lowest accessed page so far in a + * certain context. */ int rpc_idx; }; -- cgit v1.3