Re: another VM question

2002-01-29 Thread Terry Lambert
Hyong-Youb Kim wrote: > First off, for each open file, does the kernel keep a unique vnode > structure? If so, will it have at most one vm_object reference at any > time? Yes and not. It depends on what you mean by "for each open file"; an open instance in user space is not the same thing as an

another VM question

2002-01-29 Thread Hyong-Youb Kim
First off, for each open file, does the kernel keep a unique vnode structure? If so, will it have at most one vm_object reference at any time? I am guessing that mmaping a file will create vm_object with a vnode pager that references vnode. But then under what circumstances does vnode not have a v