Re: [PATCH RFC net-next v2 2/7] net: page_pool: place frag_* fields in one cacheline

From: Alexander Lobakin
Date: Fri Jul 14 2023 - 13:16:13 EST


From: Alexander Lobakin <aleksander.lobakin@xxxxxxxxx>
Date: Fri, 14 Jul 2023 19:08:45 +0200

> On x86_64, frag_* fields of struct page_pool are scattered across two
> cachelines despite the summary size of 24 bytes. The last field,
> ::frag_users, is pushed out to the next one, sharing it with
> ::alloc_stats.
There are two copies now of #2 and #3 as I reordered them and forgot to
remove obsolete files ._. It's an RFC anyway, so please just ignore the
duplicates. Sorry.

[...]

Thanks,
Olek