Pawel Jakub Dawidek 73864adbd4 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
MFC after:	2 days
2005-07-27 23:17:31 +00:00
..
2005-07-13 20:35:09 +00:00
2005-07-27 21:47:55 +00:00
2005-03-11 22:07:04 +00:00
2005-07-20 13:34:16 +00:00
2005-03-28 18:31:18 +00:00
2005-07-09 18:30:31 +00:00
2005-07-25 12:31:43 +00:00
2005-07-21 11:13:12 +00:00