/proc/vmstat contains the following rows:
pgalloc_dma 0 pgalloc_dma32 288126724 pgalloc_normal 33952724486 pgalloc_movable 0
I'm wondering what they are measurements of. Are they counters of the total number of page allocations done for as long as the machine has been alive or are they gauges of the current number of allocated pages of each type?
The man page for proc only tells us in which version of the kernel each metric was added, referring the reader to the kernel source code for further information.
Grepping for pgalloc_normal in the Linux kernel source yields nothing. The file
mm/vmstat seems to define the list of fields present in
/proc/vmstat under the name
vmstat_text. I have tried to trace back the source of the metrics which seem to be written in the function
vmstat_refresh, but from there I'm lost in the redirection.