pjd b19d155069 MFC: kern_malloc.c 1.145
Fix the way how "InUse" column in 'vmstat -m' output works:
- increase number of allocations count only on successfull malloc(9),
  so it doesn't confuse people;
- because we need to check if 'size > 0', hide 'mtsp->mts_memalloced += size;'
  under the check as well, as for size=0 it is of course a no-op;
- avoid critical_enter()/critical_exit() in case of failure in
  malloc_type_allocated() as there will be nothing to do.

OK'ed by:	rwatson
Approved by:	re (kensmith)
2005-07-30 06:14:57 +00:00
..
2005-07-08 15:06:58 +00:00
2005-06-30 19:01:26 +00:00
2005-06-23 21:55:43 +00:00
2005-07-30 06:14:57 +00:00
2005-06-09 19:45:09 +00:00
2005-04-12 05:45:58 +00:00
2005-03-26 20:04:28 +00:00
2005-07-18 19:54:49 +00:00
2005-05-06 02:50:00 +00:00
2005-03-14 06:51:29 +00:00
2005-07-08 15:06:58 +00:00