Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Aug 2016 15:00:39 -0700
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Ryan Stone <rysto32@gmail.com>
Cc:        Bruce Simpson <bms@fastmail.net>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, Ryan Stone <rstone@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, Adrian Chadd <adrian@freebsd.org>
Subject:   Re: svn commit: r304436 - in head: . sys/netinet
Message-ID:  <20160829220039.GH1740@FreeBSD.org>
In-Reply-To: <CAFMmRNypgJc00XH277oB3EEGje4xq%2B8_qcJfZu4jjBfTfa7GGQ@mail.gmail.com>
References:  <201608182259.u7IMx5oW002018@repo.freebsd.org> <4fbc2e1d-3a62-5963-83d5-f9c931503e51@fastmail.net> <3806700d-ed27-7915-4818-c2d64f7b806d@fastmail.net> <CAFMmRNyi=PwE9pc9_8wCU63=HttUzFR4Zh2v=uHKcQ-zaLxdJQ@mail.gmail.com> <fcb33eac-ec99-03c7-57b5-f24f86c4f41a@fastmail.net> <CAFMmRNwDPy4Hd35DrfREZQzjvd89qw=zhEriddG8U8NV7tD=EA@mail.gmail.com> <6f4449f2-d145-8b49-c3f0-433e8ff4d2a2@fastmail.net> <CAFMmRNypgJc00XH277oB3EEGje4xq%2B8_qcJfZu4jjBfTfa7GGQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 20, 2016 at 12:36:58PM -0400, Ryan Stone wrote:
R> - The if_addr_lock would appear to be an excellent candidate to be
R> converted into an rmlock, but unfortunately we made the mistake of exposing
R> the lock through the ifnet KPI.  Fixing that would require rototilling
R> every single Ethernet/WiFi/etc driver in the tree.

Just my 2 cents: that's why I'd like to encourage developers to do a big
leap with new ifnet KPI (which will give only pointer to struct ifnet
to drivers), and then with our hands unentagled improve the network stack.

See projects/ifnet branch in the subversion.


-- 
Totus tuus, Glebius.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160829220039.GH1740>