Re: [PATCH 5/5] kern: make struct kmem_cache fit into two cache lines

2014-01-04 Thread Ludovic Courtès
Justus Winter <4win...@informatik.uni-hamburg.de> skribis: > Previously, the size of struct kmem_cache was 136 bytes, just eight > bytes larger than 128 bytes, which is typically two cache lines on > today's CPUs. > > By reducing the size of the name field which holds a human-readable > descriptio

Re: [PATCH 5/5] kern: make struct kmem_cache fit into two cache lines

2014-01-02 Thread Samuel Thibault
Justus Winter, le Thu 02 Jan 2014 20:02:46 +0100, a écrit : > Previously, the size of struct kmem_cache was 136 bytes, just eight > bytes larger than 128 bytes, which is typically two cache lines on > today's CPUs. > > By reducing the size of the name field which holds a human-readable > descripti

[PATCH 5/5] kern: make struct kmem_cache fit into two cache lines

2014-01-02 Thread Justus Winter
Previously, the size of struct kmem_cache was 136 bytes, just eight bytes larger than 128 bytes, which is typically two cache lines on today's CPUs. By reducing the size of the name field which holds a human-readable description by eight bytes to 24 bytes, the struct kmem_cache can be made fit int