Chris Goldsworthy
116e1532b9
ANDROID: arm64/mm: Add command line option to make ZONE_DMA32 empty
...
ZONE_DMA32 is enabled by default on android14-6.1, yet it is not
needed for all devices, nor is it desirable to have if not needed. For
instance, if a partner in GKI 1.0 did not use ZONE_DMA32, memory can
be lower for ZONE_NORMAL relative to older targets, such that memory
would run out more quickly in ZONE_NORMAL leading kswapd to be invoked
unnecessarily.
Correspondingly, provide a means of making ZONE_DMA32 empty via the
kernel command line when it is compiled in via CONFIG_ZONE_DMA32.
P.S. The following two patches are squashed into this one,
1. bf96382 ("ANDROID: dma-direct: Make DMA32 disablement work for CONFIG_NUMA")
2. 135406c ("ANDROID: dma-direct: Document disable_dma32")
Bug: 199917449
Bug: 268587627
Change-Id: I70ec76914b92e518d61a61072f0b3cb41cb28646
Signed-off-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com >
Signed-off-by: Sudarshan Rajagopalan <quic_sudaraja@quicinc.com >
Signed-off-by: Chinwen Chang <chinwen.chang@mediatek.com >
2023-02-16 22:07:29 +00:00
..
2023-02-09 13:29:55 +00:00
2023-02-16 16:46:43 +00:00
2022-09-28 09:02:20 +02:00
2022-09-26 19:46:18 -07:00
2023-02-16 22:07:29 +00:00
2022-10-03 14:03:25 -07:00
2023-01-18 18:49:08 +00:00
2023-01-18 18:46:54 +00:00
2022-12-31 13:33:11 +01:00
2023-02-14 10:07:59 -08:00
2023-02-01 08:34:29 +01:00
2022-10-10 11:36:19 -07:00
2023-02-16 16:46:43 +00:00
2023-02-01 09:12:59 +00:00
2023-01-18 18:44:34 +00:00
2022-10-14 15:41:04 +02:00
2022-12-31 13:32:56 +01:00
2023-02-16 10:25:45 +00:00
2023-01-27 09:00:12 +00:00
2023-02-16 16:46:43 +00:00
2022-04-28 06:43:21 +00:00
2022-12-31 13:32:58 +01:00
2022-02-03 11:20:34 -08:00
2022-08-22 18:50:06 -04:00
2022-04-25 14:37:28 +02:00
2022-09-01 17:39:30 -04:00
2022-08-29 19:47:03 -04:00
2022-09-07 11:30:15 -04:00
2022-01-11 13:08:21 -08:00
2022-10-04 11:05:43 -07:00
2022-09-26 19:46:09 -07:00
2022-03-09 10:32:06 -08:00
2022-09-26 10:13:13 -07:00
2021-09-08 15:32:35 -07:00
2022-07-05 13:33:00 -07:00
2022-07-05 13:32:59 -07:00
2022-12-31 13:31:59 +01:00
2022-08-28 14:02:44 -07:00
2022-04-13 09:10:20 +02:00
2022-09-26 19:46:07 -07:00
2023-01-24 07:24:41 +01:00
2022-07-05 13:32:59 -07:00
2022-09-11 21:55:11 -07:00
2023-01-18 18:44:34 +00:00
2022-09-07 21:53:50 +02:00
2022-09-29 04:40:15 +09:00
2022-07-15 18:21:49 +00:00
2023-01-30 11:14:35 +08:00
2022-04-18 08:32:59 +02:00
2022-06-24 09:48:55 +02:00
2022-07-17 17:31:39 -07:00
2022-10-03 17:11:07 -07:00
2020-12-15 19:36:48 -08:00
2021-08-17 17:50:51 +02:00
2022-03-31 10:36:55 +02:00
2022-10-03 14:03:23 -07:00
2022-09-11 21:55:08 -07:00
2022-09-11 21:55:06 -07:00
2022-09-11 21:55:06 -07:00
2022-09-11 21:55:06 -07:00
2021-05-07 00:26:33 -07:00
2023-01-04 11:28:58 +01:00
2022-09-11 21:55:06 -07:00
2022-10-12 09:37:52 +02:00
2022-09-11 21:55:12 -07:00
2022-12-31 13:33:08 +01:00
2021-01-19 10:24:45 +01:00
2022-05-19 19:30:30 +02:00
2022-09-13 10:38:43 -07:00
2022-12-31 13:32:34 +01:00
2023-01-24 07:24:41 +01:00
2021-12-28 11:26:18 +01:00
2022-04-29 14:38:00 -07:00
2022-10-25 14:52:46 +02:00
2022-09-11 21:55:12 -07:00
2022-09-07 21:53:50 +02:00
2022-10-19 17:54:04 +02:00
2022-12-31 13:32:00 +01:00
2020-11-25 18:52:35 +01:00
2022-07-21 17:19:25 -07:00
2022-11-14 09:58:32 +01:00
2022-04-11 17:07:29 -07:00
2022-03-24 19:06:48 -07:00
2022-05-03 14:11:58 -07:00
2022-10-10 09:10:28 -07:00
2022-10-10 12:49:34 -07:00
2022-09-11 21:55:10 -07:00
2023-01-17 18:16:29 +00:00
2022-05-08 01:33:09 -07:00
2022-04-05 08:12:56 +02:00
2022-04-05 09:59:38 +02:00
2022-04-05 09:59:38 +02:00
2022-09-21 00:09:57 +00:00
2022-08-20 15:17:45 -07:00
2023-01-26 12:13:04 +00:00
2022-09-08 16:56:45 -07:00
2022-12-05 12:09:06 -08:00
2022-09-11 21:55:10 -07:00
2022-08-29 12:47:15 +01:00
2022-02-01 17:24:39 -08:00
2022-10-19 13:22:10 +02:00
2022-04-29 14:38:03 -07:00
2022-05-18 18:24:57 -05:00
2022-09-07 21:53:50 +02:00
2021-05-09 13:07:03 -07:00
2022-10-09 16:24:05 -07:00
2021-09-08 11:50:27 -07:00
2022-05-19 23:25:47 -04:00
2022-10-23 12:01:01 -07:00
2022-08-02 19:24:24 -07:00
2022-06-23 18:41:40 +02:00
2022-08-06 16:38:17 -07:00
2021-08-17 07:49:10 -10:00
2023-01-17 18:13:48 +00:00