tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: UVM typedef struct
On Mon, Aug 10, 2009 at 05:43:58PM -0700, Jason Thorpe wrote:
>> I think that there're many benefits by making struct vm_page opaque.
>> Its content is touched from ~everywhere including filesystem layers,
>> which violates abstraction. I'd propose to make vm_page_t opaque and
>> make users to always use accessor routines.
>
> I would like to see NetBSD do that with ~all of its data structures.
Making data structures opaque is a completely different issue from
creating an unnecessary and misleading layer of magic aliased names
for them.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index