page_pool: use __cacheline_group_{begin, end}_aligned()
authorAlexander Lobakin <aleksander.lobakin@intel.com>
Thu, 20 Jun 2024 13:53:35 +0000 (15:53 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 10 Jul 2024 17:28:23 +0000 (10:28 -0700)
commit39daa09d34ada1bc7227d68def63e0a2105b5496
treedc294ce9e872dff6b48a3b2588784c36b6e39d99
parent2cb13dec8c5e5e104fd2f71c2dee761d6ed9a333
page_pool: use __cacheline_group_{begin, end}_aligned()

Instead of doing __cacheline_group_begin() __aligned(), use the new
__cacheline_group_{begin,end}_aligned(), so that it will take care
of the group alignment itself.
Also replace open-coded `4 * sizeof(long)` in two places with
a definition.

Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
include/net/page_pool/types.h
net/core/page_pool.c