From f9ebee5589f8056ef52c6ecfdf7d6e10f4d34d1c Mon Sep 17 00:00:00 2001 From: Damien Zammit Date: Mon, 13 Feb 2023 08:49:45 +0000 Subject: pmap: Signal cpu for TLB update if kernel_pmap Message-Id: <20230213084919.1157074-3-damien@zamaudio.com> --- i386/intel/pmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c index 0a805e4c..40ddcd6a 100644 --- a/i386/intel/pmap.c +++ b/i386/intel/pmap.c @@ -3013,7 +3013,7 @@ void signal_cpus( cpu_update_needed[which_cpu] = TRUE; simple_unlock(&update_list_p->lock); - if ((cpus_idle & (1 << which_cpu)) == 0) + if (((cpus_idle & (1 << which_cpu)) == 0) || (pmap == kernel_pmap)) interrupt_processor(which_cpu); use_list &= ~(1 << which_cpu); } -- cgit v1.2.3