From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-184.mta0.migadu.com (out-184.mta0.migadu.com [91.218.175.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7ABE71ACEDF for ; Sun, 18 Jan 2026 16:40:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.184 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768754455; cv=none; b=bXy8f4IRq6JbZ0Utn3LpiYQX2JuIjAnMspNF4NePlYOKJHb2S0O3CCAtBG/rygt8jY1oHDoeK2u2Wbq/K0OvJhw1gjhCr7cWoDL3htSIiMNLwiYYX7O0JShyMUDhEan/az+/XFdM8ebsj+5aeLrvPFaLoong4Df3fjf90IhnItk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768754455; c=relaxed/simple; bh=stuXfsC2R2WgtLp9fCfuUxiYdJI3HqQhBs6ki4A/LRY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=fZyrTgY77I1NX5YRYeWp6Tyasiba1Aix9ITlygse1WynqZhcaSnQFjGqpp1hgYaf2Yl1gVHoGFH9ApltN+hVn7G0Dv0bZ0nC2dqh8d6bX/wakuMXgR6/YBy5NdVv6A2S+IOWAc7+XmtVjwAG7uL9/CjF+81oXxKvoz5u+h/zz24= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=B8ylrE6s; arc=none smtp.client-ip=91.218.175.184 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="B8ylrE6s" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1768754451; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=rElvZdowGvl1nqp3YNSrESkv/wHlkAfhkif6BXnCRqc=; b=B8ylrE6srANldXDbKTDLMc/XQnV2vIkDYrzllEoTHc9xM7iAm6tPGjHeLPYEjHWDgQPWvM 8CZb93tf9eeUuaViucc7rvyj/tC0Y1v+Ke8kxJT25frwHIhHuemTg4+x1sZDtWTQb+l/W9 vQgHJLyMS3mNrBJqjmP9lsMOB52dW1w= From: wen.yang@linux.dev To: Greg Kroah-Hartman Cc: stable@vger.kernel.org, linux-kernel@vger.kernel.org, Wen Yang Subject: [PATCH 6.1 0/3] net: Backlog NAPI threading for PREEMPT_RT Date: Mon, 19 Jan 2026 00:40:30 +0800 Message-Id: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT From: Wen Yang Backport three upstream commits to fix a warning on PREEMPT_RT kernels where raising SOFTIRQ from smp_call_functio triggers WARN_ON_ONCE() in do_softirq_post_smp_call_flush(). The issue occurs when RPS sends IPIs for backlog NAPI, causing softirqs from irq context on PREEMPT_RT. The solution implements backlog NAPI threads to avoid IPI-triggered softirqs, which is required for PREEMPT_RT kernels. commit 8fcb76b934da ("net: napi_schedule_rps() cleanup") and commit 56364c910691 ("net: Remove conditional threaded-NAPI wakeup based on task state.") are prerequisites. The remaining dependencies have not been backported, as they modify structure definitions in header files and represent optimizations rather than bug fixes, including: c59647c0dc67 net: add softnet_data.in_net_rx_action a1aaee7f8f79 net: make napi_threaded_poll() aware of sd->defer_list 87eff2ec57b6 net: optimize napi_threaded_poll() vs RPS/RFS 2b0cfa6e4956 net: add generic percpu page_pool allocator ... Eric Dumazet (1): net: napi_schedule_rps() cleanup Sebastian Andrzej Siewior (2): net: Remove conditional threaded-NAPI wakeup based on task state. net: Allow to use SMP threads for backlog NAPI. net/core/dev.c | 162 +++++++++++++++++++++++++++++++++++-------------- 1 file changed, 118 insertions(+), 44 deletions(-) -- 2.25.1