Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Mar 2002 12:27:53 -0500 (EST)
From:      Zhihui Zhang <zzhang@cs.binghamton.edu>
To:        Alfred Perlstein <bright@mu.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: A question of VM page ownership
Message-ID:  <Pine.SOL.4.21.0203071221360.6679-100000@onyx>
In-Reply-To: <20020307164424.GF26621@elvis.mu.org>

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

The mapping between data objects (one-to-one or one-to-many) seem to be
the most troublesome stuff to deal with when introducing new data
structures.  But if there is never the need to lookup an object from a
page, then maybe we can use a linkage structure like this:

	struct vm_page_linkage {
		TAILQ_ENTRY(vm_page_linkage) pageq;
		struct vm_page * page;
	}

-Zhihui

On Thu, 7 Mar 2002, Alfred Perlstein wrote:

> * Zhihui Zhang <zzhang@cs.binghamton.edu> [020307 08:28] wrote:
> > 
> > Is there any fundamental reason why a page can not be owned by more than
> > one VM object?  If that was the case, the bogus page stuff in vfs_bio.c
> > could be made cleaner IMHO.
> 
> There is only enough linkage in the vm page to support it being associated
> with one object.  see src/sys/vm/vm_page.h
> 
> -Alfred Perlstein [alfred@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.SOL.4.21.0203071221360.6679-100000>