On Wed, Aug 21, 2024 at 06:39:08PM GMT, Matthew Wilcox (Oracle) wrote: > Kent wants more than 16 bits in page_type, so I resurrected this old patch > and expanded it a bit. It's a bit more efficient than our current scheme > (1 4-byte insn vs 3 insns of 13 bytes total) to test a single page type. > Survives a simple smoke test, but I haven't done any specific testing > of these changes. not page_type itself, but - if we can get 24 bits for that field in struct slab, we can add the object size there and make __ksize() faster, which we can use to get actual numbers on amount of memory stranded by RCU (and faster __ksize() will no doubt be useful in other places...)