<dec f='src/src/sys/arch/x86/include/pmap.h' l='255' type='void pmap_load()'/>
<use f='src/src/sys/arch/amd64/amd64/trap.c' l='593' u='c' c='trap'/>
<use f='src/src/sys/arch/x86/x86/pmap.c' l='744' u='c' c='pmap_map_ptes'/>
<use f='src/src/sys/arch/x86/x86/pmap.c' l='1055' u='c' c='pmap_emap_sync'/>
<def f='src/src/sys/arch/x86/x86/pmap.c' l='2691' ll='2811' type='void pmap_load()'/>
<doc f='src/src/sys/arch/x86/x86/pmap.c' l='2680'>/*
 * pmap_load: perform the actual pmap switch, i.e. fill in %cr3 register
 * and relevant LDT info.
 *
 * Ensures that the current process&apos; pmap is loaded on the current CPU&apos;s
 * MMU and that there are no stale TLB entries.
 *
 * =&gt; The caller should disable kernel preemption or do check-and-retry
 *    to prevent a preemption from undoing our efforts.
 * =&gt; This function may block.
 */</doc>
