Jianqun Xu
7a669a6418
mm: cma: add CmaAllocated/CmaReleased info for meminfo node
...
Show the CMA pages used by cma_alloc in meminfo node.
Tested on RV1126 EVB DDR3:
CmaTotal: 270336 kB
CmaAllocated: 44408 kB
CmaReleased: 225928 kB
CmaFree: 0 kB
The CmaTotal = CmaAllocated + CmaReleased, and the CmaFree is pages
under cma area unused by system.
The CmaAllocated can be calculated by CMA_DEBUGFS.
Tested on RV1126 EVB DDR3:
cat /sys/kernel/debug/cma/*/used
10756
346
The results from cma used is in page count, 1 page = 4kByte
CmaAllocated = 44408kB = 10756 + 346 pages
Change-Id: Ib79001367562c968e6432816b158cba551978173
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com >
2021-01-07 14:16:12 +08:00
..
2020-11-05 11:08:53 +01:00
2019-08-06 19:06:49 +02:00
2020-09-09 19:04:30 +02:00
2020-08-26 10:31:05 +02:00
2019-12-13 08:51:01 +01:00
2018-12-01 09:37:27 +01:00
2020-12-02 08:48:07 +01:00
2020-11-05 11:08:54 +01:00
2020-11-05 11:08:53 +01:00
2020-11-18 19:18:53 +01:00
2019-08-06 19:06:51 +02:00
2020-05-27 17:37:32 +02:00
2018-11-13 11:08:55 -08:00
2020-12-29 16:10:48 +08:00
2020-06-19 19:13:05 +08:00
2019-03-23 20:09:59 +01:00
2020-10-30 10:38:28 +01:00
2020-02-28 16:38:59 +01:00
2020-12-02 08:48:12 +01:00
2019-12-05 09:20:32 +01:00
2020-01-27 14:50:02 +01:00
2020-09-09 19:04:28 +02:00
2020-11-24 14:57:17 +01:00
2020-12-29 16:10:48 +08:00
2020-06-22 09:05:08 +02:00
2018-12-17 09:24:40 +01:00
2020-11-09 13:11:29 +00:00
2020-11-18 19:18:44 +01:00
2019-12-01 09:17:10 +01:00
2020-04-17 10:48:52 +02:00
2018-08-17 16:20:28 -07:00
2018-08-25 12:42:33 -07:00
2019-05-22 08:00:39 +02:00
2021-01-04 10:09:45 +08:00
2018-08-21 11:37:41 +02:00
2020-09-03 11:24:24 +02:00
2020-08-26 11:07:03 +02:00
2020-01-27 14:50:33 +01:00
2020-04-13 21:36:41 +00:00
2019-12-13 08:51:59 +01:00
2020-08-21 11:05:38 +02:00
2020-11-05 14:02:27 +01:00
2020-11-05 11:08:52 +01:00
2020-06-22 09:05:03 +02:00
2020-12-29 16:10:48 +08:00
2020-10-30 10:38:28 +01:00
2020-11-18 19:18:49 +01:00
2020-02-24 08:34:53 +01:00
2020-07-22 13:03:12 +02:00
2021-01-07 14:16:12 +08:00
2020-09-24 17:59:50 +08:00
2020-10-29 09:55:12 +01:00
2020-10-30 10:38:21 +01:00
2020-10-30 10:38:31 +01:00
2020-08-26 10:30:59 +02:00
2020-09-25 09:32:14 +08:00
2018-08-02 09:34:02 -07:00
2020-06-01 15:49:29 +08:00
2018-12-17 09:24:30 +01:00
2018-07-31 11:32:44 -04:00
2020-11-05 14:02:27 +01:00
2020-11-05 11:08:50 +01:00
2020-08-21 11:05:38 +02:00
2020-02-28 03:35:36 +00:00
2020-06-16 14:07:40 -07:00
2020-11-24 14:57:17 +01:00
2020-06-22 09:05:01 +02:00
2018-07-12 10:04:27 -04:00
2020-09-25 09:32:04 +08:00
2020-06-03 08:19:41 +02:00
2019-07-03 13:14:44 +02:00
2019-11-06 13:05:37 +01:00
2020-10-01 16:49:05 +02:00
2020-11-05 14:02:27 +01:00
2020-01-14 20:06:57 +01:00
2020-01-09 10:19:07 +01:00
2020-09-25 09:31:59 +08:00
2020-03-05 16:42:12 +01:00
2020-11-05 11:08:35 +01:00
2020-05-21 11:55:15 -07:00
2020-01-12 12:17:20 +01:00
2020-02-11 04:34:08 -08:00
2020-10-07 08:45:35 +02:00
2020-12-29 16:10:48 +08:00
2018-08-15 23:03:20 -05:00
2018-08-21 18:19:09 -07:00
2020-05-27 17:37:29 +02:00
2020-04-17 10:48:51 +02:00
2020-06-27 15:17:45 +02:00
2020-09-03 11:24:28 +02:00
2020-09-25 09:31:59 +08:00
2020-09-25 09:32:11 +08:00
2018-11-21 09:19:14 +01:00
2020-01-24 10:49:09 -08:00
2020-09-25 09:32:14 +08:00
2018-08-02 08:06:55 +09:00
2020-11-24 14:57:17 +01:00
2020-01-09 10:19:00 +01:00
2020-09-25 09:32:14 +08:00
2019-08-17 00:18:14 +00:00
2020-09-25 09:32:04 +08:00
2020-04-29 17:26:17 +02:00
2019-05-25 18:23:26 +02:00
2020-09-25 09:32:04 +08:00
2019-05-04 09:20:11 +02:00
2020-05-03 08:48:02 +02:00
2018-12-05 09:48:13 -08:00
2018-12-05 09:48:13 -08:00
2020-06-29 17:09:39 +00:00
2020-01-04 19:13:26 +01:00
2019-08-25 10:47:43 +02:00
2020-08-26 10:31:02 +02:00
2019-12-17 20:35:43 +01:00
2019-10-11 18:21:39 +02:00
2020-11-24 14:57:17 +01:00
2018-12-05 09:48:12 -08:00
2018-08-13 20:56:23 -07:00
2020-01-04 19:29:03 +01:00
2020-09-25 09:31:59 +08:00
2020-09-25 09:32:04 +08:00