vm_page_dontneed.9freebsd

Langue: en

Version: 308963 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)


BSD mandoc

NAME

vm_page_dontneed - indicate that a page is not needed anymore

SYNOPSIS

In sys/param.h In vm/vm.h In vm/vm_page.h Ft void Fn vm_page_dontneed vm_page_t m

DESCRIPTION

The Fn 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 Fn 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.

SEE ALSO

vm_page_deactivate9

AUTHORS

This manual page was written by An Chad David Aq davidc@acns.ab.ca .