netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/7] Avoid local_irq_save() and use napi_alloc_frag() where possible
@ 2019-05-29 22:15 Sebastian Andrzej Siewior
  2019-05-29 22:15 ` [PATCH net-next 1/7] net: Don't disable interrupts in napi_alloc_frag() Sebastian Andrzej Siewior
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Sebastian Andrzej Siewior @ 2019-05-29 22:15 UTC (permalink / raw)
  To: netdev; +Cc: tglx, David S. Miller

The first two patches remove local_irq_save() around
`netdev_alloc_cache' which does not work on -RT. Besides helping -RT it
whould benefit the users of the function since they can avoid disabling
interrupts and save a few cycles.
The remaining patches are from a time when I tried to remove
`netdev_alloc_cache' but then noticed that we still have non-NAPI
drivers using netdev_alloc_skb() and I dropped that idea. Using
napi_alloc_frag() over netdev_alloc_frag() would skip the not required
local_bh_disable() around the allocation.

Sebastian


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2019-05-31 18:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-29 22:15 [PATCH net-next 0/7] Avoid local_irq_save() and use napi_alloc_frag() where possible Sebastian Andrzej Siewior
2019-05-29 22:15 ` [PATCH net-next 1/7] net: Don't disable interrupts in napi_alloc_frag() Sebastian Andrzej Siewior
2019-05-29 22:48   ` Eric Dumazet
2019-05-31 18:14     ` Sebastian Andrzej Siewior
2019-05-29 22:15 ` [PATCH net-next 2/7] net: Don't disable interrupts in __netdev_alloc_skb() Sebastian Andrzej Siewior
2019-05-29 22:15 ` [PATCH net-next 3/7] dpaa2-eth: Remove preempt_disable() from seed_pool() Sebastian Andrzej Siewior
2019-05-30  9:24   ` Ioana Ciocoi Radulescu
2019-05-29 22:15 ` [PATCH net-next 4/7] dpaa2-eth: Use napi_alloc_frag() Sebastian Andrzej Siewior
2019-05-30  9:25   ` Ioana Ciocoi Radulescu
2019-05-29 22:15 ` [PATCH net-next 5/7] bnx2x: " Sebastian Andrzej Siewior
2019-05-29 22:15 ` [PATCH net-next 6/7] tg3: " Sebastian Andrzej Siewior
2019-05-30  8:51   ` Sergei Shtylyov
2019-05-29 22:15 ` [PATCH net-next 7/7] net: hwbm: Make the hwbm_pool lock a mutex Sebastian Andrzej Siewior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).