aboutsummaryrefslogtreecommitdiffstats
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorGary Guo <[email protected]>2019-03-27 00:41:29 +0000
committerPalmer Dabbelt <[email protected]>2019-05-17 03:42:12 +0000
commitf6635f873a605576fa1983c605655a8721475c22 (patch)
treee90d492641c5dbbc02307894264a20ed9ccf53b7 /lib/memory-notifier-error-inject.c
parentriscv: move flush_icache_{all,mm} to cacheflush.c (diff)
downloadkernel-f6635f873a605576fa1983c605655a8721475c22.tar.gz
kernel-f6635f873a605576fa1983c605655a8721475c22.zip
riscv: move switch_mm to its own file
switch_mm is an expensive operations that has two users. flush_icache_deferred is only called within switch_mm and can be moved together. The function is expected to be more complicated when ASID support is added, so clean up eagerly. By moving them to a separate file we also removes some excessive dependency of tlbflush.h and cacheflush.h. Signed-off-by: Gary Guo <[email protected]> Reviewed-by: Anup Patel <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions