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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=174250
@ -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 New Issue
Block a user