summaryrefslogtreecommitdiff
path: root/kernel/gcov/gcov.h
diff options
context:
space:
mode:
authorAtish Patra <atish.patra@wdc.com>2019-08-22 00:51:50 -0700
committerPaul Walmsley <paul.walmsley@sifive.com>2019-10-29 11:32:18 -0700
commit31738ede9b339c90216b8fd10da0b1567a041f06 (patch)
tree7dc501804afb05a31fbf29f90091a33cf75b14af /kernel/gcov/gcov.h
parent6384423f49c804dbca02add1945e0ccf922cb522 (diff)
RISC-V: Issue a local tlbflush if possible.
In RISC-V, tlb flush happens via SBI which is expensive. If the local cpu is the only cpu in cpumask, there is no need to invoke a SBI call. Just do a local flush and return. Signed-off-by: Atish Patra <atish.patra@wdc.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Diffstat (limited to 'kernel/gcov/gcov.h')
0 files changed, 0 insertions, 0 deletions