mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Correct an error under COUNT_IPIS within pmap_lazyfix_action(): Increment
the counter that the pointer refers to, not the pointer. MFC after: 3 days
This commit is contained in:
parent
491bc4fe00
commit
d1ce3dfa8d
1 changed files with 1 additions and 1 deletions
|
|
@ -1443,7 +1443,7 @@ pmap_lazyfix_action(void)
|
|||
u_int mymask = PCPU_GET(cpumask);
|
||||
|
||||
#ifdef COUNT_IPIS
|
||||
*ipi_lazypmap_counts[PCPU_GET(cpuid)]++;
|
||||
(*ipi_lazypmap_counts[PCPU_GET(cpuid)])++;
|
||||
#endif
|
||||
if (rcr3() == lazyptd)
|
||||
load_cr3(PCPU_GET(curpcb)->pcb_cr3);
|
||||
|
|
|
|||
Loading…
Reference in a new issue