Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Mar 2002 10:52:38 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Zhihui Zhang <zzhang@cs.binghamton.edu>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: A question of VM page ownership
Message-ID:  <3C87B6F6.C56CC50C@mindspring.com>
References:  <Pine.SOL.4.21.0203071118040.5254-100000@onyx>

next in thread | previous in thread | raw e-mail | index | archive | help
Zhihui Zhang 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.

When you need to reclaim the page, you would have to identify
all owners, rather than a single owner.  THis converts the
lookup fron an O(1) to an O(N) problem.

Keeping a linked list of owners doesn't really help, either,
since it introduces locking issues that will cause -current
to blow chunks.

-- Terry

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?3C87B6F6.C56CC50C>