Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jul 1999 21:25:01 -0400 (EDT)
From:      Zhihui Zhang <zzhang@cs.binghamton.edu>
To:        freebsd-hackers@freebsd.org
Subject:   Wrong comment in VM code?
Message-ID:  <Pine.GSO.3.96.990708212050.1554B-100000@sol.cs.binghamton.edu>

next in thread | raw e-mail | index | archive | help

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?

Thanks for any help.

--------------------------------------------------
Zhihui Zhang.  Please visit http://www.freebsd.org
--------------------------------------------------



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.GSO.3.96.990708212050.1554B-100000>