mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00:00
Remove cpu_idcache_wbinv_all() from kdb_cpu_trap(), it's no longer needed.
This was added ca. 2004 for the purpose of ensuring the caches were in the right state after the debugger set a breakpoint. kdb_cpu_sync_icache() was added in 2007 to handle that situation, and now the wbinv_all is actually harmful because the operation isn't broadcast to other cores.
This commit is contained in:
parent
f2e5eb368a
commit
edecf7f6c1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=265020
@ -55,8 +55,6 @@ kdb_cpu_sync_icache(unsigned char *addr, size_t size)
|
||||
static __inline void
|
||||
kdb_cpu_trap(int type, int code)
|
||||
{
|
||||
|
||||
cpu_idcache_wbinv_all();
|
||||
}
|
||||
|
||||
#endif /* _MACHINE_KDB_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user