Remove unnecessary TLB flushes
- this should be only for SMP
This commit is contained in:
@@ -803,7 +803,7 @@ ENTRY(__switch_address_space)
|
||||
* test if the cr3 is loaded with the current value to avoid unnecessary
|
||||
* TLB flushes
|
||||
*/
|
||||
#if 0
|
||||
#ifndef CONFIG_SMP
|
||||
mov %cr3, %ecx
|
||||
cmp %ecx, %eax
|
||||
je 0f
|
||||
|
||||
Reference in New Issue
Block a user