mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 06:12:01 +01:00
Don't write-back the cachelines if we really just want to invalidate them.
Spotted out by: Ian Lepore <freebsd at damnhippie DOT dyndns dot org>
This commit is contained in:
parent
0c04d1850f
commit
e892db8fc3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=243909
@ -1095,7 +1095,7 @@ _bus_dmamap_fix_user(vm_offset_t buf, bus_size_t len,
|
||||
#else
|
||||
#define l2cache_wb_range(va, pa, size) cpu_l2cache_wb_range(va, size)
|
||||
#define l2cache_wbinv_range(va, pa, size) cpu_l2cache_wbinv_range(va, size)
|
||||
#define l2cache_inv_range(va, pa, size) cpu_l2cache_wbinv_range(va, size)
|
||||
#define l2cache_inv_range(va, pa, size) cpu_l2cache_inv_range(va, size)
|
||||
#endif
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user