OSDN Git Service

net: Restrict receive packets queuing to housekeeping CPUs
authorAlex Belits <abelits@marvell.com>
Thu, 25 Jun 2020 22:34:43 +0000 (18:34 -0400)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 8 Jul 2020 09:39:02 +0000 (11:39 +0200)
commit07bbecb3410617816a99e76a2df7576507a0c8ad
tree864c69321b1bd33c6196cf9f0628c5ce55b574b0
parent69a18b18699b59654333651d95f8ca09d01048f8
net: Restrict receive packets queuing to housekeeping CPUs

With the existing implementation of store_rps_map(), packets are queued
in the receive path on the backlog queues of other CPUs irrespective of
whether they are isolated or not. This could add a latency overhead to
any RT workload that is running on the same CPU.

Ensure that store_rps_map() only uses available housekeeping CPUs for
storing the rps_map.

Signed-off-by: Alex Belits <abelits@marvell.com>
Signed-off-by: Nitesh Narayan Lal <nitesh@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200625223443.2684-4-nitesh@redhat.com
net/core/net-sysfs.c