Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mm/slub: Simplify struct slab slabs field definition
Before commit b47291e ("mm, slub: change percpu partial accounting from objects to pages") we had to fit two integer fields into a native word size, so we used short int on 32-bit and int on 64-bit via #ifdef. After that commit there is only one integer field, so we can simply define it as int everywhere. Signed-off-by: Vlastimil Babka <[email protected]> Acked-by: Johannes Weiner <[email protected]> Reviewed-by: Roman Gushchin <[email protected]>
- Loading branch information