git: kernel - TMPFS - Stabilization pass, fix VM object leak, ms

看板DFBSD_commit作者時間16年前 (2010/02/20 11:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit f96f2f39b0082a3241919be617757c2235a6add0 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Fri Feb 19 19:07:43 2010 -0800 kernel - TMPFS - Stabilization pass, fix VM object leak, msync * The swap vm_object backing regular files was not being deallocated properly and leaked kernel memory. * Truncate deleted files a little earlier in the INACTIVE path. * Set MNTK_NOMSYNC. This prevents msync(), sync(), and the periodic filesystem syncer from flushing pages to swap. VM pages related to tmpfs are only flushed based on memory pressure. Summary of changes: sys/vfs/tmpfs/tmpfs_subr.c | 2 +- sys/vfs/tmpfs/tmpfs_vfsops.c | 1 + sys/vfs/tmpfs/tmpfs_vnops.c | 5 +++++ 3 files changed, 7 insertions(+), 1 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f96f2f39b0082a3241919be617757c2235a6add0 -- DragonFly BSD source repository
文章代碼(AID): #1BVrUsa4 (DFBSD_commit)