Added TODO regarding the use of arch_cpu_global_TLB_invalidate().

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15903 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2006-01-11 02:05:29 +00:00
parent d0648592ca
commit 31ac264b1e

View File

@ -427,6 +427,10 @@ clear_flags_tmap(vm_translation_map *map, addr_t virtualAddress, uint32 flags)
static void
flush_tmap(vm_translation_map *map)
{
// TODO: arch_cpu_global_TLB_invalidate() is extremely expensive and doesn't
// even cut it here. We are supposed to invalidate all TLB entries for this
// map on all CPUs. We should loop over the virtual pages and invoke tlbie
// instead (which marks the entry invalid on all CPUs).
arch_cpu_global_TLB_invalidate();
}