Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

vm_page_dontneed — indicate that a page is not needed anymore

Authors

       This manual page was written by Chad David <davidc@acns.ab.ca>.

Debian                                            July 30, 2001                              VM_PAGE_DONTNEED(9)

Description

       The  vm_page_dontneed() function advises the VM system that the given page is no longer required.  If the
       page is already in the inactive queue or in the cache queue, this function does  nothing;  otherwise  the
       page is deactivated.

       Note  that vm_page_dontneed() does not necessarily deactivate a page, but instead implements an algorithm
       that attempts to prevent small objects from having their pages reused too quickly, and large objects from
       flushing smaller ones from the queues as their pages are released.

Name

       vm_page_dontneed — indicate that a page is not needed anymore

See Also

vm_page_deactivate(9)

Synopsis

#include<sys/param.h>#include<vm/vm.h>#include<vm/vm_page.h>voidvm_page_dontneed(vm_page_tm);

See Also