CVSROOT: /cvs Module name: src Changes by: b...@cvs.openbsd.org 2009/08/12 10:42:24
Modified files: sys/kern : vfs_cache.c vfs_subr.c sys/sys : namei.h vnode.h usr.sbin/procmap: procmap.c Log message: Namecache revamp. This eliminates the large single namecache hash table, and implements the name cache as a global lru of entires, and a redblack tree in each vnode. It makes cache_purge actually purge the namecache entries associated with a vnode when a vnode is recycled (very important for later on actually being able to resize the vnode pool) This commit does #if 0 out a bunch of procmap code that was already broken before this change, but needs to be redone completely. Tested by many, including in thib's nfs test setup. ok oga@,art@,thib@,miod@