CVSROOT: /cvs Module name: src Changes by: js...@cvs.openbsd.org 2013/01/17 22:09:21
Modified files: sys/ntfs : ntfs.h ntfs_inode.h ntfs_subr.c ntfs_vfsops.c Log message: Constrain the amount of kernel memory used by NTFS. Keep a small cache of loaded ntnodes and once the maximum is reached, unload the least recently used ntnode before loading a new one. This avoids leaving large data structures hanging around, which only get cleaned up when the vnode is reclaimed. Additionally, the buffer cache should contain the data needed to reload the ntnode. ok beck@