Date: Thu, 21 Apr 2011 13:35:20 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/geom/eli g_eli_key_cache.c Message-ID: <201104211335.p3LDZSHM016216@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2011-04-21 13:35:20 UTC FreeBSD src repository Modified files: sys/geom/eli g_eli_key_cache.c Log: SVN rev 220923 on 2011-04-21 13:35:20Z by pjd If number of keys for the given provider doesn't exceed the limit, allocate all of them at attach time. This allows to avoid moving keys around in the most-recently-used queue and needs no mutex synchronization nor refcounting. MFC after: 2 weeks Revision Changes Path 1.2 +20 -0 src/sys/geom/eli/g_eli_key_cache.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104211335.p3LDZSHM016216>