vm_page_flag9
Change page flags
Usage
#include <sys/param.h>
#include <vm/vm.h>
#include <vm/vm_page.h>
void
vm_page_flag_clear(vm_page_t m, unsigned short bits);
void
vm_page_flag_set(vm_page_t m, unsigned short bits);
Overview
The vm_page_flag_clear() atomically clears the specified bits on the page's flags.
The vm_page_flag_set() atomically sets the specified bits on the page's flags.
The functions arguments are:
- m
-
The page whose flags are updated.
- bits
-
The bits that are set or cleared on the page's flags.