From owner-svn-src-all@freebsd.org Mon Aug 29 22:55:49 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A9B9DB79D47; Mon, 29 Aug 2016 22:55:49 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-it0-x233.google.com (mail-it0-x233.google.com [IPv6:2607:f8b0:4001:c0b::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6EC97980; Mon, 29 Aug 2016 22:55:49 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x233.google.com with SMTP id e63so132678394ith.1; Mon, 29 Aug 2016 15:55:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=UDQm9qCdRouDltVvIMpXd7ai0V0dAigybyjPHls3qc4=; b=tlIARgbITAjpwa8/dEkkp2IVxsTGaWixBIpgnhACkE6TR5Pe6iqelHLT73QWqWGEQH y0v4l+LohD/XoVZaWb8CL++JclBv/2iZMFT+aAFXuHcXQkPNBY0TCZIbWVgolSMp/Y+Q ahGqQgUUCcORudYlma8MuKuNyKPJ+glCBLA58mGmpk7wq8h5/H+glhVe9ctrBS87MdtK O7as3fWrKvAcBr+Zk84AYH3Y2uoZbAdvDGh6CFB2jH9KqR0poGJVaOCZwXUTPNg9nuce aY0sqOUuED/3w7gAs5OA5FiUsz1LunqtNKgLfCm5kUxGTkIH6NxNWRBaMiZCYENIas2L 8qKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=UDQm9qCdRouDltVvIMpXd7ai0V0dAigybyjPHls3qc4=; b=KkGjt3Mn/QaTYVgWXWvctYetmum5lnvlm93korJXw1mZ1yiR0pB7h8TvP2TOTWPJ2w HJJmKULRLC40ma8788bdWKq71+La6+cEcngvCIbFwTYELwd1gqkQpY6TTSIqIKo5f3kW eJwkqFSp6I0LfidJxZU6uFfFPHPNsVC1HCjsp9eCZ1db2UnDgBN2piELWEL7pMd7hWOA 2y+tf5GsUdTy3qkhAaCDlbDmecCgPDOMpFLygwKGCfB2Y1bSdJG/CU5O9uXD0bZv2ctv zpzGTe53dsD+2xniwVGKgAbGL4DpDUB4pK50qrECGZqcnZtU/bHZVTn/ULc3z8c7qeky 5FzA== X-Gm-Message-State: AE9vXwMzd/DrCMC9BMwmBpdpul8IzX/KMFMYrb1rCS53E6VGfTiQ1CPzldmw6CX/pvP0xJ+FGMKh5kt+i2iCjw== X-Received: by 10.36.150.70 with SMTP id z67mr18256438itd.80.1472511348930; Mon, 29 Aug 2016 15:55:48 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.36.141.129 with HTTP; Mon, 29 Aug 2016 15:55:47 -0700 (PDT) In-Reply-To: <20160829220039.GH1740@FreeBSD.org> References: <201608182259.u7IMx5oW002018@repo.freebsd.org> <4fbc2e1d-3a62-5963-83d5-f9c931503e51@fastmail.net> <3806700d-ed27-7915-4818-c2d64f7b806d@fastmail.net> <6f4449f2-d145-8b49-c3f0-433e8ff4d2a2@fastmail.net> <20160829220039.GH1740@FreeBSD.org> From: Adrian Chadd Date: Mon, 29 Aug 2016 15:55:47 -0700 X-Google-Sender-Auth: qhwNTnXdyUGtb6CBws9MeGD5ItQ Message-ID: Subject: Re: svn commit: r304436 - in head: . sys/netinet To: Gleb Smirnoff Cc: Ryan Stone , Bruce Simpson , "svn-src-head@freebsd.org" , Ryan Stone , "src-committers@freebsd.org" , "svn-src-all@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 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: Mon, 29 Aug 2016 22:55:49 -0000 On 29 August 2016 at 15:00, Gleb Smirnoff wrote: > 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. Hi, It's an easyish thing to do now - just come up with an API change proposal and I'll rototill the wifi drivers / stack in preparation. -adrian > > -- > Totus tuus, Glebius.