At Sat, 14 Jul 2012 17:06:37 +0200, Richard Braun wrote: > > If no major objection is raised (particularly about the new Mig > routine), I'll commit this patch in a few days. > ... > +struct vm_cache_statistics { > + integer_t object_count; /* # of cached objects */ > + integer_t page_count; /* # of cached pages */ > + integer_t _reserved[14]; > +};
I'd encourage you to use a more self-describing data structure. In the very least, please consider a version number and a bitmask indicating which fields are valid. Neal