Re: [PATCH v4 14/35] kmsan: Do not round up pg_data_t size

2024-06-18 Thread Alexander Potapenko
On Thu, Jun 13, 2024 at 5:39 PM Ilya Leoshkevich wrote: > > x86's alloc_node_data() rounds up node data size to PAGE_SIZE. It's not > explained why it's needed, but it's most likely for performance > reasons, since the padding bytes are not used anywhere. Some other > architectures do it as well,

[PATCH v4 14/35] kmsan: Do not round up pg_data_t size

2024-06-13 Thread Ilya Leoshkevich
x86's alloc_node_data() rounds up node data size to PAGE_SIZE. It's not explained why it's needed, but it's most likely for performance reasons, since the padding bytes are not used anywhere. Some other architectures do it as well, e.g., mips rounds it up to the cache line size.