tech-kern archive

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

Re: UVM typedef struct



In message <20090811064511.GD26451%netbsd.org@localhost>, David Holland writes:
>That is not a benefit.

It can be.

In particular, it encourages you to use the API, rather than trying to
outsmart it.  If you are quite sure whether x_t is a pointer or not, you may
take steps based on your expectations of how to manage pointers (or
non-pointers).  This can be an advantage, especially for other people who
may need to update an API you were supposed to be using...

-s


Home | Main Index | Thread Index | Old Index