From owner-freebsd-hackers Sat Jul 11 08:23:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA10052 for freebsd-hackers-outgoing; Sat, 11 Jul 1998 08:23:15 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from sparky8 (sparky8.cc.binghamton.edu [128.226.4.18]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA10047 for ; Sat, 11 Jul 1998 08:23:13 -0700 (PDT) (envelope-from bf20761@binghamton.edu) Received: from localhost (bf20761@localhost) by sparky8 (SMI-8.6/8.6.9) with SMTP id LAA00770 for ; Sat, 11 Jul 1998 11:23:07 -0400 Date: Sat, 11 Jul 1998 11:23:06 -0400 (EDT) From: zhihuizhang X-Sender: bf20761@sparky8 To: hackers Subject: Question about shadow object collapse Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG According to the Mach paper "Machine-Independent Virtual Memory Management for Paged Uniprocessor and Multiprocessor Architectures", a shadow object still relies on the original object (i.e., backing object) that it shadows for all unmodified data. If this is true in FreeBSD, can anyone explain the following comments found in the routine vm_object_collapse() (see source file vm/vm_object.c): (1) Pages that have been paged out will be overwirteen by any of the parent's pages that shadow them. (why so and how to know if a page has been paged out?) (2) If the page falls outside the parent, dispose of it. (why so?) Any help is appreciated. ------------------------------------------------- Zhihui Zhang Department of Computer Science State University of New York at Binghamton Web Site: http://cs.binghamton.edu/~zzhang ------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message