Unlocking a Page

To unlock a page of memory, a process requests the release of a segment of locked virtual pages by a calling munlock(). munlock() decrements the lock counts of the specified physical pages. After decrementing a page's lock count to 0, the page swaps normally. For more information, see the munlock(3C) man page.