cvs commit: src/sys/vm uma_core.c

Hartmut Brandt harti at FreeBSD.org
Fri Jul 18 09:04:42 PDT 2003


harti       2003/07/18 09:04:36 PDT

  FreeBSD src repository

  Modified files:
    sys/vm               uma_core.c 
  Log:
  When INVARIANTS is defined make sure that uma_zalloc_arg (and hence
  uma_zalloc) is called with exactly one of either M_WAITOK or M_NOWAIT and
  that it is called with neither M_TRYWAIT or M_DONTWAIT. Print a warning
  if anything is wrong. Default to M_WAITOK of no flag is given. This is the
  same test as in malloc(9).
  
  Revision  Changes    Path
  1.61      +20 -0     src/sys/vm/uma_core.c


More information about the cvs-src mailing list