MCPcopy Create free account
hub / github.com/F-Stack/f-stack / invltlb_invpcid_handler

Function invltlb_invpcid_handler

freebsd/amd64/amd64/mp_machdep.c:810–827  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

808}
809
810static void
811invltlb_invpcid_handler(pmap_t smp_tlb_pmap)
812{
813 struct invpcid_descr d;
814
815#ifdef COUNT_XINVLTLB_HITS
816 xhits_gbl[PCPU_GET(cpuid)]++;
817#endif /* COUNT_XINVLTLB_HITS */
818#ifdef COUNT_IPIS
819 (*ipi_invltlb_counts[PCPU_GET(cpuid)])++;
820#endif /* COUNT_IPIS */
821
822 d.pcid = smp_tlb_pmap->pm_pcids[PCPU_GET(cpuid)].pm_pcid;
823 d.pad = 0;
824 d.addr = 0;
825 invpcid(&d, smp_tlb_pmap == kernel_pmap ? INVPCID_CTXGLOB :
826 INVPCID_CTX);
827}
828
829static void
830invltlb_invpcid_pti_handler(pmap_t smp_tlb_pmap)

Callers 1

invlop_handler_one_reqFunction · 0.85

Calls 1

invpcidFunction · 0.85

Tested by

no test coverage detected