Skip to content

page_pool: NUMA node handling fixes

Jesper Dangaard Brouer lkml netdev 4 versions – In review

Get series with b4
b4 am 157746672570.257308.7385062978550192444.stgit@firesoul

Versions newest first · linked by author and title

  1. v6 Latest2 patches 4 repliesIn review
  2. v51 patch 11 repliesSuperseded
  3. v41 patch 9 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v31 patch1 replySuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2page_pool: handle page recycle for NUMA_NO_NODE conditionnet/core/page_pool.c+61 -192 replies
2/2page_pool: help compiler remove code in case CONFIG_NUMA=nnet/core/page_pool.c+9 -00 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchIlias Apalodimas
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [net-next v6 PATCH 0/2] page_pool: NUMA node handling fixes

The recently added NUMA changes (merged for v5.5) to page_pool, it both contains a bug in handling NUMA_NO_NODE condition, and added code to the fast-path.

This patchset fixes the bug and moves code out of fast-path. The first patch contains a fix that should be considered for 5.5. The second patch reduce code size and overhead in case CONFIG_NUMA is disabled.

Currently the NUMA_NO_NODE setting bug only affects driver 'ti_cpsw' (drivers/net/ethernet/ti/), but after this patchset, we plan to move other drivers (netsec and mvneta) to use NUMA_NO_NODE setting.

---

Jesper Dangaard Brouer (2):
page_pool: handle page recycle for NUMA_NO_NODE condition
page_pool: help compiler remove code in case CONFIG_NUMA=n

 net/core/page_pool.c |   89 +++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 70 insertions(+), 19 deletions(-)

--