Struct page cleanup
Struct page cleanup
Posted May 1, 2018 11:49 UTC (Tue) by willy (subscriber, #9762)In reply to: Struct page cleanup by Sesse
Parent article: Willy's memory-management to-do list
My slot wasn't focused on the flags, so I didn't fill in all the rest of the details; I juts handwaved at it because everybody else in the room knew what other things were in those bits. I've filled in the fields that are commonly stored in those bits; the problem is that they're all dependent on various CONFIG options and I haven't taken the trouble to figure out likely values in order to size the fields to realistic number of bits. If you can make sense of page-flags-layout.h and the rest of the generating machinery, please let me know. The first problem you'll face is that whoever did the ASCII art in those files was a fan of big-endian bit numbering (probably from IBM).
