From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-183.mta1.migadu.com (out-183.mta1.migadu.com [95.215.58.183]) (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 68F4E219E8D for ; Sun, 18 Jan 2026 16:16:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.183 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768752990; cv=none; b=MRkPXEE562ZrHdBwVvhhiMS9aHiVU2+7avcBeSuVCJGHSrpD/Q9R84SNJ3RHRwEbpklGWKlSOsGkqlx8Eo4syYSnPwuYdyg5VZzrvjKlUSrC/lFx+dejbTkJsCDUX+qiChRk3Ws0ytDdVGgeuU4yAwvDZDNO7+paQpyiqCp7/r4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768752990; c=relaxed/simple; bh=stuXfsC2R2WgtLp9fCfuUxiYdJI3HqQhBs6ki4A/LRY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=c9ygjiMtQY5v/YdW2fVGNUSxExQo0ATga8IOBhJGOAVYe4T4qWN1iMVXogZk7K8EfBcwwet2AMAijUf0r4ols72I8YOs1O7xVBQnazzvTNd/ZCKSt+yvzJ0RNbBvVdjnbsOo68I/YgmRO8oe2Jfp28rGWazRlfBZo4A/ihMkVZM= 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=awqocaa5; arc=none smtp.client-ip=95.215.58.183 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="awqocaa5" 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=1768752977; 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=awqocaa5FEoKjJIenL0zwUUK5wEzvPg7+Fv36BIY6T/HNRA6b05QLghtMX9IbeNjS7bRdt 9Arw+6FrTewOln1N0SQfYE45SC1Ew0Z1BIjUn3wrsTLIBmVwq4VkS2eslyILeObg5sTHyY kqKsNIozW+zdA7z6hd93ckQBwAkj8vY= From: wen.yang@linux.dev To: Greg Kroah-Hartman Cc: stable@vger.kernel.org, linux-kernel@vger.kernel.org, Wen Yang Subject: [PATCH 6.6 0/3] net: Backlog NAPI threading for PREEMPT_RT Date: Mon, 19 Jan 2026 00:15:43 +0800 Message-Id: Precedence: bulk X-Mailing-List: stable@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 From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-180.mta0.migadu.com (out-180.mta0.migadu.com [91.218.175.180]) (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 A94A719309C for ; Sun, 18 Jan 2026 16:18:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768753089; cv=none; b=Z6N7y0jONx6N3O5DFTl7ERmiTula27GbV2eO4rVb5evTUQaZeqkmG0d5pizgKwoP0ytRZTfLI9P57EwU0ixXYifF+0kDyIw2XhW1WKHNjddQubiWbT4oJ/cWad7pgQiSYv4T0xWG+0o8h/wcDI19P6Ay0u5mDrinVtzyuwHRppM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768753089; c=relaxed/simple; bh=stuXfsC2R2WgtLp9fCfuUxiYdJI3HqQhBs6ki4A/LRY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=JXsEUDJhITqnhKh36gmWk7tyLkQ8KErkYZLOv9HJJ3pEJFTmKk2wBykw4HOOkHjRED3+AlPvgP3+AcAHNy8Q/jGFPuojGtrBmg3pRy3+ng0fVlyCDe+yGVFAsZMcp9kHRslrKxfyUnFrjtZp0JUGElKTAvlmy2dpCkB3udKMkiE= 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=iH1SvSu9; arc=none smtp.client-ip=91.218.175.180 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="iH1SvSu9" 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=1768753073; 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=iH1SvSu9EMe8X3liCa7BFnNPazt7hliZKRkvwixVaCU/oQzBPz2gx1PrbPHSzBuagX9JIn L8Zyd0vgwIejuK6OXPfNlwjS0l2yRi3rKN9jipAdJWNR72dbCffeJZSiZ/kgjRtZY6fGku hC3v/jvOAwjWFL8nDs8SOSShj1VIMUs= 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:17:38 +0800 Message-ID: Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT Message-ID: <20260118161738.m5213gM2Vke5f7mF1owyn_CExpq2CVmKRaUiVljpxPo@z> 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 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 1ACA8239099 for ; Sun, 18 Jan 2026 16:29:03 +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=1768753747; cv=none; b=BeQl24Giu7NoiHERDJiIHcOyWfRcus/C3svimDgdRZSpVDiykuNXuQDBB8E0P81odayKC2inetTNqW7IFQiFO9RR1MrZm998m2ScME0CH1bxIOrRvfn5gChj3n7uy/T5CiQcaUMjnXqjDPLzSQayzuStCEPoGC0P2+18R+nxYA0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768753747; c=relaxed/simple; bh=stuXfsC2R2WgtLp9fCfuUxiYdJI3HqQhBs6ki4A/LRY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=EWWffMzYi8i6H9Wplw9TKMfRyC2gmFhiKk9Hh1US2c2s4ZYn/fO4TM0rX/4PaQ1h4RGjcHZ+poQzZK49Itw/nMLR6wxS8k2ZojflY8zlXP8gbpOKHEVg+UF3IEQ/tuj3OiKXL2GtWzp2BpEQoKcTsKCDpUS/b7ItkmUQ3T+Eyno= 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=xXXAliuT; 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="xXXAliuT" 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=1768753731; 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=xXXAliuTuv5whv48IhVnPc73boyYeO4fKWj9UPfgGkx7SMZk5dCB0RlqnjxKt21q6Nhfi7 nT4z7WnRjDmFY+8PuRVg6wmjrYNKkoC6HUWPuOcis+o8rjYyHcavbkmqXI/4QXevmyYGDn clSfYb0ygeJgXrie+Fs+4yBI1FPnQ7E= 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:28:21 +0800 Message-ID: Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT Message-ID: <20260118162821.lKAy1f1KXSBe1ApwSB_1sDn5Wvm4iSvzrlqdm6-3is4@z> 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