[PATCH 3/7] ksm: shrink 32-bit rmap_item back to 32 bytes

2013-02-21 Thread Hugh Dickins
Think of struct rmap_item as an extension of struct page (restricted to MADV_MERGEABLE areas): there may be a lot of them, we need to keep them small, especially on 32-bit architectures of limited lowmem. Siting "int nid" after "unsigned int checksum" works nicely on 64-bit, making no change to

[PATCH 3/7] ksm: shrink 32-bit rmap_item back to 32 bytes

2013-02-21 Thread Hugh Dickins
Think of struct rmap_item as an extension of struct page (restricted to MADV_MERGEABLE areas): there may be a lot of them, we need to keep them small, especially on 32-bit architectures of limited lowmem. Siting int nid after unsigned int checksum works nicely on 64-bit, making no change to its