summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAtish Patra <atish.patra@wdc.com>2019-08-30 01:19:13 +0300
committerAnup Patel <anup@brainfault.org>2019-08-31 10:45:21 +0300
commit7b7690ed9c0e5990a8cda2511f4c438c9ad8c9dc (patch)
treecea19a98e22d0b92a132406853272518ea5ebc2e /docs
parent6bd1512024c84250a248dea37f30b71a2c4c260f (diff)
downloadopensbi-7b7690ed9c0e5990a8cda2511f4c438c9ad8c9dc.tar.xz
lib: Upgrade to full flush if size is at least threshold
Currently, we upgrade to a full tlb flush only If a tlb flush request size is greater than the threshold. This is done as sfence in RISC-V can only flush 4KB at a time. Doing a large number of flushes page by page impacts the performance. It is better to do a full tlbflush if the request size is at least equal to the threshold size. Signed-off-by: Atish Patra <atish.patra@wdc.com> Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions