Date: Sun, 2 Aug 1998 14:36:28 -0400 (EDT) From: zhihuizhang <bf20761@binghamton.edu> To: hackers <freebsd-hackers@FreeBSD.ORG> Subject: Relationship between buf/page/vnode/object? Message-ID: <Pine.SOL.L3.93.980802141520.6647B-100000@bingsun2>
next in thread | raw e-mail | index | archive | help
After studying VM source code for two months, I have understood the general ideas in it. All the pages (vm_page structures) belong to a object/pindex pair and virtual memory/physical memory is decoupled by introducing the VM object. What confuses me now is that vnode and buf structures can also have pages (vm_page structures) associated with them. But file system cache and VM cache are unified and should have a consistent interface. I mean all pages should only hang off the vm_object structures. I hope that someone can describe the relationship of these important structures (vm_object, vm_page, vnode, buf) briefly for me. I have searched the MailingList Archive in vain. Any help is appreciated. -------------------------------------------------- | Zhihui Zhang, http://cs.binghamton.edu/~zzhang | | Dept. of Computer Science, SUNY at Binghamton | -------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.L3.93.980802141520.6647B-100000>