tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: UVM typedef struct




On Jun 15, 2009, at 9:43 PM, Masao Uebayashi 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.

-- thorpej



Home | Main Index | Thread Index | Old Index