Thread (85 messages) 85 messages, 9 authors, 2024-11-05

Re: [PATCH v2 32/33] mm/slub: Simplify struct slab slabs field definition

From: Johannes Weiner <hannes@cmpxchg.org>
Date: 2021-12-14 15:06:42
Also in: linux-patches

On Wed, Dec 01, 2021 at 07:15:09PM +0100, Vlastimil Babka wrote:
Before commit b47291ef02b0 ("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 <redacted>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help