X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/743b15655a24ee3fe9f458f383003e011db0558f..13fec9890cf095cc781fdf7b8917cb03bf32dd4c:/osfmk/man/vm_behavior_set.html diff --git a/osfmk/man/vm_behavior_set.html b/osfmk/man/vm_behavior_set.html index 77087b889..d51fbfae3 100755 --- a/osfmk/man/vm_behavior_set.html +++ b/osfmk/man/vm_behavior_set.html @@ -1 +1,88 @@ -
Function - Specify expected access patterns for the target VM region.
kern_return_t vm_behavior_set (vm_task_t target_task, vm_address_t address, vm_size_t size, vm_behavior_t behavior);
The vm_behavior_set function informs the kernel of the expected access pattern for a region of memory. The kernel uses this information to bias its prefetch and page replacement algorithms.
The region starts at the beginning of the virtual page containing address; it ends at the end of the virtual page containing address + size - 1. Because of this rounding to virtual page boundaries, the amount of memory affected may be greater than size. Use host_page_size to find the current virtual page size.
This interface is machine word length specific because of the virtual address parameter.
Functions: vm_region, host_page_size. \ No newline at end of file +
+Function - Specify expected access patterns for the target VM region. +
+kern_return_t vm_behavior_set + (vm_task_t target_task, + vm_address_t address, + vm_size_t size, + vm_behavior_t behavior); ++
+
+
+
+
+
+
+
+
+The vm_behavior_set function informs the kernel of +the expected access +pattern for a region of memory. The kernel uses this information +to bias its prefetch and page +replacement algorithms. +
+The region starts at the beginning of the virtual page containing +address; it ends at the end of the virtual page containing +address + size - 1. Because of this +rounding to virtual page boundaries, the amount of memory affected may be +greater than size. Use host_page_size +to find the current virtual page size. +
+This interface is machine word length specific because of the virtual address +parameter. +
+
+Functions: +vm_region, +host_page_size.