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-15 18:17:59 +00:00
2005-07-24 17:55:57 +00:00
2005-07-27 21:19:28 +00:00
2005-07-27 19:11:10 +00:00
2005-05-29 16:11:34 +00:00
2005-07-01 16:28:32 +00:00
2005-04-13 10:59:09 +00:00
2005-07-13 20:35:09 +00:00
2005-07-27 21:47:55 +00:00
2005-07-20 18:58:27 +00:00
2005-03-11 22:07:04 +00:00
2005-07-02 23:52:37 +00:00
2005-07-27 21:03:35 +00:00
2005-07-20 13:34:16 +00:00
2005-03-28 18:31:18 +00:00
2005-07-27 22:31:57 +00:00
2005-07-09 18:30:31 +00:00
2005-06-26 18:11:11 +00:00
2005-07-23 19:36:00 +00:00
2005-07-15 18:17:59 +00:00
2005-07-13 15:43:21 +00:00
2005-04-13 10:59:09 +00:00
2005-07-27 23:17:31 +00:00
2005-07-23 16:52:57 +00:00
2005-07-27 21:47:55 +00:00
2005-07-26 17:21:56 +00:00
2005-07-27 04:41:25 +00:00
2005-07-05 23:39:51 +00:00
2005-06-10 16:49:24 +00:00
2005-07-23 19:28:51 +00:00
2005-07-26 00:19:58 +00:00
2005-07-27 08:41:17 +00:00
2005-06-02 23:56:10 +00:00
2005-06-10 16:49:24 +00:00
2005-07-25 12:31:43 +00:00
2005-07-19 13:36:39 +00:00
2005-05-13 11:27:48 +00:00
2005-07-14 20:08:27 +00:00
2005-04-25 05:11:19 +00:00
2005-07-27 15:06:26 +00:00
2005-04-17 16:25:36 +00:00
2005-05-30 05:01:44 +00:00
2005-07-21 11:13:12 +00:00
2005-05-10 12:02:18 +00:00
2005-07-27 13:51:01 +00:00
2005-05-04 10:39:15 +00:00
2005-07-15 18:17:59 +00:00
2005-03-19 01:16:25 +00:00
2005-07-21 17:17:51 +00:00
2005-07-27 20:01:45 +00:00
2005-07-23 16:42:54 +00:00
2005-06-09 20:20:31 +00:00
2005-07-20 19:06:06 +00:00
2005-07-25 00:47:32 +00:00
2005-03-08 00:09:41 +00:00