Pulling slabs out of struct page
Pulling slabs out of struct page
Posted Oct 9, 2021 16:08 UTC (Sat) by luto (subscriber, #39314)In reply to: Pulling slabs out of struct page by willy
Parent article: Pulling slabs out of struct page
Is this done directly in GUP? If so, surely it could work like the fault code and look up the VMA.
> - compaction walks the memmap and needs to figure out what this memory is and whether it can be relocated.
Hmm, this one is legit.
> - memory failure gets a physical address and needs to understand how to handle it
In my dream world, the low-level memory failure / machine check code gets a virtual address and can look up a VMA or vmap area. Making this work with kmap might be interesting.
> There are more, but these should illustrate some of the problems we have to solve.
I wonder if it's possible to reduce the dependency on struct page or equivalent to the point that everything works without it except for some nice-to-have features like compaction. (I'm not saying that the colossal amount of effort involved is worthwhile.)
