cvs commit: src/lib/libmemstat memstat.h memstat_internal.h

Robert Watson rwatson at FreeBSD.org
Fri Jul 15 11:19:56 GMT 2005


rwatson     2005-07-15 11:19:55 UTC

  FreeBSD src repository

  Modified files:
    lib/libmemstat       memstat.h memstat_internal.h 
  Log:
  Increase the number of caller memory storage slots from 2 or 4 to
  MEMSTAT_MAXCALLER (8), and expose MEMSTAT_MAXCALLER via memstat.h so
  that applications can check their assumptions about how many slots
  are available.
  
  Remove 'spare' memory storage in struct malloc_type, since we now
  don't expose the data structure internals to applications and rely
  on accessor methods, this approach to ABI stability isn't required.
  
  MFC after:      7 days
  
  Revision  Changes    Path
  1.2       +8 -0      src/lib/libmemstat/memstat.h
  1.2       +4 -8      src/lib/libmemstat/memstat_internal.h


More information about the cvs-src mailing list