TIL: Linux memory page size

2023-02-09

Linux has a page size of 4096 bytes as defined in the linux kernel. Some tools, like the OOM killer, report memory stats in page sizes so it’s useful to keep this handy.

Sounds like it’s possible for different architectures to have different values. I don’t completely understand that since asm-generic seems… generic.