Pulling slabs out of struct page
Pulling slabs out of struct page
Posted Oct 9, 2021 15:46 UTC (Sat) by willy (subscriber, #9762)In reply to: Pulling slabs out of struct page by luto
Parent article: Pulling slabs out of struct page
Yes. Some of the places we need this:
- GUP gets back a page and then calls set_page_dirty(). That needs to figure out whether this is a file/anon/ksm/netpool/DEVICE/... page and call the filesystem if required.
- compaction walks the memmap and needs to figure out what this memory is and whether it can be relocated.
- memory failure gets a physical address and needs to understand how to handle it
There are more, but these should illustrate some of the problems we have to solve.
The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:
Note: you can avoid this step in the future by logging into your LWN account.
