Wednesday, May 21, 2008

FreeBSD & David Filo

Pagi ini membaca salah satu cvs-src log FreeBSD dari Stephan Uphoff, isinya cukup
menarik:
------------------------------------------------------------------------------
FreeBSD src repository

Modified files:
sys/vm vm_object.c vm_object.h vnode_pager.c
sys/ufs/ufs ufs_lookup.c
Log:
Allow VM object creation in ufs_lookup. (If vfs.vmiodirenable is set)
Directory IO without a VM object will store data in 'malloced' buffers
severely limiting caching of the data. Without this change VM objects for
directories are only created on an open() of the directory.
TODO: Inline test if VM object already exists to avoid locking/function call
overhead.

Tested by: kris@
Reviewed by: jeff@
Reported by: David Filo
^^^^^^^^^^^^^^^^^^
----------------------------------------------------------------------
David Filo (co-founder Yahoo!) rupanya masih rajin ngoprek FreeBSD!

No comments: