News: 0000835301

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Walleij: ARM32 page tables

([Kernel] Oct 26, 2020 16:06 UTC (Mon) (corbet))


Linus Walleij continues his series of blog posts on the 32-bit Arm kernel with [1]this detailed description about how page tables work . " The Linux kernel will act as if 5 levels of page tables exist. This is of course grossly over-engineered for ARM32 which has 2 or 3 levels of page tables, but we need to cater for the rest of the world. One size fits all. In practice, the code is organized such that these page tables 'fold' and we mostly skip over the intermediate translation steps when possible. "



[1] https://people.kernel.org/linusw/arm32-page-tables

Usually, in the studio, on this sort of thing ... you just go out and have
a play over it, and see what comes, and it's usually -- mostly -- the first
take that's the best one, and you find yourself repeating yourself thereafter.
-- David Gilmour, on the famous guitar solo in "Time"