[EMAIL PROTECTED] (Zhihui Zhang) writes:
> At the beginning of the file vm_object.c, we have the following comment:
>
> The only items within the object structure which are modified after time
> of creation are:
>
> reference count locked by object's lock
> pager routine locked by object's lock
>
> But at the end of vnode_pager_setsize(), we modify the size field. So at
> least three items can be modified after creation. Am I right?
The comment is wrong (it's probably supposed to mean something other
than it seems to), the only field in a vm_object that *isn't* modified
after creation is 'id'.
The comment is also wrong in that there are no vm_object locks in
FreeBSD (they've been ripped out).
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message