From owner-svn-src-all@freebsd.org Thu Jan 23 23:08:36 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 624EB2285AC for ; Thu, 23 Jan 2020 23:08:36 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound2m.ore.mailhop.org (outbound2m.ore.mailhop.org [54.149.155.156]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 483dHS011qz4DKJ for ; Thu, 23 Jan 2020 23:08:35 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1579820914; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=t2AdeC6XJMi24+APXOVw2kRx288yjQxyn1bXiQUhTyY/BanluqWaIXciIqpO55LFHpAwNaUY7fYAT PSsVJHFh56BB/k1yocVEouwD1XPI4Q1CNlD0M87qKxBNJPD3J1IlGdicIZv1ZDf9y/Mi6EmkMlGj+E wAG48ru/cWGx6w9Zu+RYpuQtYT33MV0kM1LuUGK5K9dTSkgCBavMQHoe1zw63yhBqAM4pKuibNZk3E WVUGeaxH5DQulfB/TmZbSIfkEzRP5s4qUoMG+xriIpeW870HIhP0QtnIoDddGXfdoYfkMjg0uCpp1y 9xeRCdiMdCpPM9nlJFseW6ZO++Ttfrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:dkim-signature:from; bh=IJufiYwS1GJ4POj5CxHySbWJz04/V1bevv9I44esIW8=; b=skXqNkcbWPGsVtSXLQrfX0/jM/4CHeBTvr/BLvCCVW60b3UpWjEAnrvr/bbNbZrV48Oj8Y/ZkeWrM +GbohmG1wALcBr1AtTwS1PKWc6toqqgnTxMMsY52UihOqsb9SqIO3mL/Im7sWcqp9ViJ0jWpszM7Pe 4N/wD4bNy1xyn0EhLdo4ONcgf+ctLAGzgWw9I8vXE/9FGdfut0RbOLaVyTWa9TsDZis2Px1Ym8YGAZ chr9XgQ/cevqYJsU3w1yjyCJi6MUlS02qFiCWKxkp4nC2c7akm0Jvvz9ggSriTwelBQGAsK/Pun3HU t1ciiVpAyTMLLnuGPbMNUtRpDms26nQ== ARC-Authentication-Results: i=1; outbound4.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=IJufiYwS1GJ4POj5CxHySbWJz04/V1bevv9I44esIW8=; b=w/NAnZT/P4i0NdptVtPgaeqqbtq3p2m1ZRQm+CbabulKbKC56KGo7XteCchgtWzXUqcemYSJWRg1j UqH2oEKTdc0FypAvxVFWQRSZQtIMDMHaohd7R1cKO97aXmqxvqHxD+RY3bddrGrfEEH0GaF2NLYtps CN7J0i4lt8DmoElhp/QVyEw6Oa9ASWiBHUycMIMkS1PHLkEEN5MVsvJm6QQAbIhZDjD50sM3B4YZy5 5iNy4GPcor+/DGM8G8SBiilzBoJThC7ptDZkkmurlGwEX5gxmgfHDYlJwS62AW/GLSn9UftfqRDL0V f0C0Tz8UIulMhTL71wvX2BXE9FAYv0g== X-MHO-RoutePath: aGlwcGll X-MHO-User: 469ad8f4-3e35-11ea-9eb3-25e2dfa9fa8d X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound4.ore.mailhop.org (Halon) with ESMTPSA id 469ad8f4-3e35-11ea-9eb3-25e2dfa9fa8d; Thu, 23 Jan 2020 23:08:33 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id 00NN8WUq094066; Thu, 23 Jan 2020 16:08:32 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: Subject: Re: svn commit: r357051 - head/sys/dev/bge From: Ian Lepore To: Gleb Smirnoff , Ryan Stone Cc: src-committers , svn-src-all , svn-src-head Date: Thu, 23 Jan 2020 16:08:32 -0700 In-Reply-To: <20200123230546.GG1268@FreeBSD.org> References: <202001231636.00NGawrr080128@repo.freebsd.org> <20200123230546.GG1268@FreeBSD.org> Content-Type: text/plain; charset="ASCII" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 483dHS011qz4DKJ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.83 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.97)[-0.969,0]; NEURAL_HAM_LONG(-0.86)[-0.861,0]; ASN(0.00)[asn:16509, ipnet:54.148.0.0/15, country:US] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2020 23:08:36 -0000 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