Re: [PATCH 2/2] vm: make struct vm_map fit into a cache line

2014-04-30 Thread Samuel Thibault
Justus Winter, le Wed 30 Apr 2014 21:10:47 +0200, a écrit : > Currently, the size of struct vm_map is 68 bytes. By using a bit > field for the boolean flags, it can be made fit into a cache line. Ack. > * vm/vm_map.h (struct vm_map): Use a bit field for the boolean flags > wait_for_space and wir

[PATCH 2/2] vm: make struct vm_map fit into a cache line

2014-04-30 Thread Justus Winter
Currently, the size of struct vm_map is 68 bytes. By using a bit field for the boolean flags, it can be made fit into a cache line. * vm/vm_map.h (struct vm_map): Use a bit field for the boolean flags wait_for_space and wiring_required. --- vm/vm_map.h | 7 +-- 1 file changed, 5 insertions(+