svn commit: r357051 - head/sys/dev/bge

Ian Lepore ian at freebsd.org
Thu Jan 23 23:08:36 UTC 2020


On Thu, 2020-01-23 at 15:05 -0800, Gleb Smirnoff wrote:
> On Thu, Jan 23, 2020 at 02:17:33PM -0500, Ryan Stone wrote:
> R> What is a driver's responsibility now for entering/leaving the net epoch now?
> 
> For drivers that are 'special', entering the net epoch is necessary. Special
> usually means running if_input outside network interrupt context.
> 
> However, there is plan to generalize entering/exiting epoch for taskqueues
> and callouts.
> 

That sounds every bit as horrible and out-of-place as the recent hack
(and it does feel very much like a horrible hack) that put network-
specific code into the guts of interrupt dispatching.

-- Ian




More information about the svn-src-all mailing list