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

Function pmap_quick_remove_page

freebsd/amd64/amd64/pmap.c:10063–10072  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10061}
10062
10063void
10064pmap_quick_remove_page(vm_offset_t addr)
10065{
10066
10067 if (addr != qframe)
10068 return;
10069 pte_store(vtopte(qframe), 0);
10070 invlpg(qframe);
10071 mtx_unlock_spin(&qframe_mtx);
10072}
10073
10074/*
10075 * Pdp pages from the large map are managed differently from either

Callers

nothing calls this directly

Calls 2

vtopteFunction · 0.85
invlpgFunction · 0.50

Tested by

no test coverage detected