Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 2010 00:54:38 +0300
From:      Gleb Kurtsou <gleb.kurtsou@gmail.com>
To:        soc-status@freebsd.org
Cc:        Konstantin Belousov <kib@FreeBSD.org>
Subject:   namecache status report #4
Message-ID:  <20100628215437.GA4504@tops.skynet.lt>

next in thread | raw e-mail | index | archive | help
Last week I've replaced cache entry reference counting with hold and use
counting. So it's now possible to free individual unused entries, but not
only entire directories at once. Because of locking protocol, ie
necessity of locking child entry while holding parent lock, entries are
not immediately freed but placed on 'invalid' list. Household thread is to
free invalid entries and keep number of unused entries at desired level.

I've also fixed number of reference counting and locking bugs, fixed
memory leak on unmount, implemented per cpu statistics.

Thanks,
Gleb.



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