Date: Sat, 11 Nov 2017 22:55:19 +0100 From: Hans Petter Selasky <hps@selasky.org> To: Mateusz Guzik <mjg@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r325725 - head/sys/kern Message-ID: <fd35292e-0a93-a0b5-56f9-13a2ba097d60@selasky.org> In-Reply-To: <201711112150.vABLoaOl033503@repo.freebsd.org> References: <201711112150.vABLoaOl033503@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fd35292e-0a93-a0b5-56f9-13a2ba097d60>