From owner-svn-src-head@freebsd.org Sat Nov 11 21:58:02 2017 Return-Path: Delivered-To: svn-src-head@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 D9F3CE4D841; Sat, 11 Nov 2017 21:58:02 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A62667036A; Sat, 11 Nov 2017 21:58:02 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.128.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 8395E2603B1; Sat, 11 Nov 2017 22:58:00 +0100 (CET) Subject: Re: svn commit: r325725 - head/sys/kern To: Mateusz Guzik , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201711112150.vABLoaOl033503@repo.freebsd.org> From: Hans Petter Selasky Message-ID: Date: Sat, 11 Nov 2017 22:55:19 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <201711112150.vABLoaOl033503@repo.freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Nov 2017 21:58:03 -0000 On 11/11/17 22:50, Mateusz Guzik wrote: > Author: mjg > Date: Sat Nov 11 21:50:36 2017 > New Revision: 325725 > URL: https://svnweb.freebsd.org/changeset/base/325725 > > Log: > sysctl: try to avoid malloc in name2oid > > name2oid is called all the time and passed names are almost always very short > (< 16 characters). > Might be good to MFC. --HPS