[PATCH] optimise struct page layout
Reorganise the members of struct page. - Place ->flags at the start so the compiler can generate indirect addressing rather than indirect+indexed for this commonly-accessed field. Shrinks the kernel by ~100 bytes. - Keep ->count with ->flags so they have the best chance of being in the same cacheline.
Showing
Please register or sign in to comment