summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAtish Patra <atish.patra@wdc.com>2019-09-10 13:40:37 +0300
committerAnup Patel <anup@brainfault.org>2019-09-10 15:14:07 +0300
commitf2e82c3d797d9f64ec8f33365c35a2b5f7ea2bbb (patch)
tree8158cfe4b94b96d97596108d0708bfbca6dee9e6 /docs
parent144acef6847663cdee8c64daaf2821ca13520656 (diff)
downloadopensbi-f2e82c3d797d9f64ec8f33365c35a2b5f7ea2bbb.tar.xz
lib: Change tlb range flush threshold to 4k page instead of 1G
In RISC-V, tlb flush happens at a page granularity. That's why OpenSBI also have a tlb range flush limit which decides the which tlb flush requests should be upgraded to full flush to avoid long delays. Currently, this is set to 1G which would result in a many sfence.vma execution in a tight loop for a large range. Change the threshold to 4k to speed things up. Signed-off-by: Atish Patra <atish.patra@wdc.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions