freebsd-dev/sys/vm
Konstantin Belousov 1c778d91b5 vmtotal: extend memory counters to accomodate for current and future
hardware sizes.

32bit counters already overflow on approachable virtual memory page
counts, and soon would overflow on the physical pages counts as well.
Bump sizes to 64bit types.  Bump __FreeBSD_version.

It is impossible to provide perfect backward ABI compat for this
change.  If a program requests an old structure, it can be detected by
size.  But if it queries the size first by passing NULL old req
pointer, there is almost nothing we can do to detect the desired ABI.
As a partial solution, check p_osrel of the quering process when
selecting the size to report.

Submitted by:	Pawel Biernacki <pawel.biernacki@gmail.com>
Differential revision:	https://reviews.freebsd.org/D13018
2017-11-15 13:41:03 +00:00
..
_vm_radix.h Add pctrie_init() and vm_radix_init() to initialize generic pctrie and 2017-07-19 20:52:47 +00:00
default_pager.c Provide introductory description of the default pager. 2016-12-14 23:36:32 +00:00
device_pager.c All these files need sys/vmmeter.h, but now they got it implicitly 2017-04-17 17:07:00 +00:00
memguard.c Free the right address range if kmem_back() fails in memguard_alloc(). 2017-10-20 21:13:19 +00:00
memguard.h
phys_pager.c Replace manyinstances of VM_WAIT with blocking page allocation flags 2017-11-08 02:39:37 +00:00
pmap.h Add support for pmap_enter(..., psind=1) to the amd64 pmap. In other words, 2017-07-23 06:33:58 +00:00
redzone.c
redzone.h
sg_pager.c All these files need sys/vmmeter.h, but now they got it implicitly 2017-04-17 17:07:00 +00:00
swap_pager.c Replace manyinstances of VM_WAIT with blocking page allocation flags 2017-11-08 02:39:37 +00:00
swap_pager.h Make the swap_pager_full variable static. 2017-08-30 09:44:05 +00:00
uma_core.c Fix operator priority. 2017-11-08 23:25:05 +00:00
uma_dbg.c Fix memguard(9) in kernels with INVARIANTS enabled. 2016-06-01 22:31:35 +00:00
uma_dbg.h Move uma_dbg_alloc() and uma_dbg_free() into uma_core.c, which allows 2016-02-03 22:02:36 +00:00
uma_int.h Include _bitset.h to get BITSET_DEFINE, used to define struct slabbits. 2017-09-15 14:59:35 +00:00
uma.h Replace manyinstances of VM_WAIT with blocking page allocation flags 2017-11-08 02:39:37 +00:00
vm_domain.c Remove cpu_spinwait after seq_consistent. 2016-12-30 06:26:17 +00:00
vm_domain.h Add an initial NUMA affinity/policy configuration for threads and processes. 2015-07-11 15:21:37 +00:00
vm_extern.h Move swapout code into vm/vm_swapout.c. 2017-10-20 09:10:49 +00:00
vm_fault.c Switching from a global hash table to per-vm_object radix tries for mapping 2017-08-28 16:55:43 +00:00
vm_glue.c Move swapout code into vm/vm_swapout.c. 2017-10-20 09:10:49 +00:00
vm_init.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
vm_kern.c Replace manyinstances of VM_WAIT with blocking page allocation flags 2017-11-08 02:39:37 +00:00
vm_kern.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
vm_map.c Disable stack growth when accessed by AIO daemons. 2017-07-19 19:00:32 +00:00
vm_map.h Treat the addr argument for mmap(2) request without MAP_FIXED flag as 2017-06-28 04:02:36 +00:00
vm_meter.c vmtotal: extend memory counters to accomodate for current and future 2017-11-15 13:41:03 +00:00
vm_mmap.c Correct the type of foff. 2017-11-08 01:53:03 +00:00
vm_object.c Replace manyinstances of VM_WAIT with blocking page allocation flags 2017-11-08 02:39:37 +00:00
vm_object.h Use existing tag name for the vm_object' memq. 2017-09-13 19:03:59 +00:00
vm_page.c Replace manyinstances of VM_WAIT with blocking page allocation flags 2017-11-08 02:39:37 +00:00
vm_page.h Replace manyinstances of VM_WAIT with blocking page allocation flags 2017-11-08 02:39:37 +00:00
vm_pageout.c Allow various page daemon parameters to be set from loader.conf. 2017-11-08 19:55:17 +00:00
vm_pageout.h Move swapout code into vm/vm_swapout.c. 2017-10-20 09:10:49 +00:00
vm_pager.c Start annotating global _padalign locks with __exclusive_cache_line 2017-09-06 20:28:18 +00:00
vm_pager.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
vm_param.h Add OID for the vm.overcommit sysctl. This makes it possible to remove 2017-10-22 10:35:29 +00:00
vm_phys.c Speed up vm_page_array initialization. 2017-09-07 21:43:39 +00:00
vm_phys.h Reduce traffic on vm_cnt.v_free_count 2017-10-13 21:54:34 +00:00
vm_radix.c Replace manyinstances of VM_WAIT with blocking page allocation flags 2017-11-08 02:39:37 +00:00
vm_radix.h Replace manyinstances of VM_WAIT with blocking page allocation flags 2017-11-08 02:39:37 +00:00
vm_reserv.c Utilize pmap_enter(..., psind=1) in vm_fault_soft_fast() on amd64. (The 2017-07-23 16:28:13 +00:00
vm_reserv.h Utilize pmap_enter(..., psind=1) in vm_fault_soft_fast() on amd64. (The 2017-07-23 16:28:13 +00:00
vm_swapout_dummy.c Move swapout code into vm/vm_swapout.c. 2017-10-20 09:10:49 +00:00
vm_swapout.c Move swapout code into vm/vm_swapout.c. 2017-10-20 09:10:49 +00:00
vm_unix.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
vm.h Implement address space guards. 2017-06-24 17:01:11 +00:00
vnode_pager.c Take the vm object lock in read mode in vnode_generic_putpages(). 2017-10-20 18:40:29 +00:00
vnode_pager.h Mark pages after EOF as clean after pageout. 2017-07-26 20:07:05 +00:00