Merge branch 'page_pool-NUMA-node-handling-fixes'
authorDavid S. Miller <davem@davemloft.net>
Thu, 2 Jan 2020 23:37:53 +0000 (15:37 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Jan 2020 23:37:53 +0000 (15:37 -0800)
Jesper Dangaard Brouer says:

====================
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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge