From 0e87f899c3934e8a1f1014c7506952e99bdbf86c Mon Sep 17 00:00:00 2001 From: "xiaoguang.xing" Date: Wed, 29 Mar 2023 10:12:01 +0800 Subject: [PATCH] lib:sbi_tlb: Increase tlb fifo entry number When tlb fifo is full, it takes more fails. This makes lots of lock contention and consumes much cpu time in sbi. --- include/sbi/sbi_tlb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sbi/sbi_tlb.h b/include/sbi/sbi_tlb.h index 48f1962d..8236a867 100644 --- a/include/sbi/sbi_tlb.h +++ b/include/sbi/sbi_tlb.h @@ -20,7 +20,7 @@ /* clang-format on */ -#define SBI_TLB_FIFO_NUM_ENTRIES 8 +#define SBI_TLB_FIFO_NUM_ENTRIES 64 struct sbi_scratch;