net: dev: PREEMPT_RT fixups.
Status from this message: This series was applied to netdev/net-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 4 repliesApplied 3/3
- v2 posting 2/23 patches 9 repliesSuperseded
- v2 posting 1/23 of 4 patches 5 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 4 patches | 22 replies | Superseded |
v1 from the cover letter
Patches in v3 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | net: dev: Remove preempt_disable() and get_cpu() in netif_rx_internal().net/ | +1 | 0 replies | Applied |
| 2/3 | net: dev: Makes sure netif_rx() can be invoked in any context.drivers/ drivers/ drivers/ +13 more | +60 | 4 replies | Applied |
| 3/3 | net: dev: Make rps_lock() disable interrupts.net/ | +42 | 0 replies | Applied |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Eric Dumazet | Toke Høiland-Jørgensen | Jakub Kicinski |
|---|---|---|---|
| 1/3 | R-b | R-b | |
| 2/3 | R-b | R-b | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH net-next v3 0/3] net: dev: PREEMPT_RT fixups.
Hi,
this series removes or replaces preempt_disable() and local_irq_save() sections which are problematic on PREEMPT_RT.
Patch 2 makes netif_rx() work from any context after I found suggestions for it in an old thread. Should that work, then the context-specific variants could be removed.
v2…v3:
- #2
- Export __netif_rx() so it can be used by everyone.
- Add a lockdep assert to check for interrupt context.
- Update the kernel doc and mention that the skb is posted to backlog NAPI.
- Use __netif_rx() also in drivers/net/*.c.
- Added Toke''s review tag and kept Eric's desptite the changes made.
v1…v2:
- #1 and #2
- merge patch 1 und 2 from the series (as per Toke).
- updated patch description and corrected the first commit number (as per Eric).
- #2
- Provide netif_rx() as in v1 and additionally __netif_rx() without local_bh disable()+enable() for the loopback driver. __netif_rx() is not exported (loopback is built-in only) so it won't be used drivers. If this doesn't work then we can still export/ define a wrapper as Eric suggested.
- Added a comment that netif_rx() considered legacy.
- #3
- Moved ____napi_schedule() into rps_ipi_queued() and renamed it napi_schedule_rps().
https://lore.kernel.org/all/[email protected]/