dcsimg
 

struct page, the Linux physical page frame data structure

Thursday Oct 15th 2020 by Matthew Wilcox

In this blog post, you will learn more about the Linux physical page frame data structure struct page and how to safely use various fields in it.

Linux manages physical memory by dividing it into PAGE_SIZE pieces. Usually this is the same as the CPU's page size, between 4KiB and 64KiB. Each page has a small data structure (about 64 bytes) called struct page, which contains various pieces of information about the page. In this blog post, you will learn more about the Linux physical page frame data structure struct page and how to safely use various fields in it.

Complete Story

Home
Mobile Site | Full Site