Files
linux/kernel
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-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-16 16:46:43 +00:00
2023-02-01 09:12:59 +00:00
2023-01-18 18:44:34 +00:00
2023-02-16 16:46:43 +00:00
2022-08-29 19:47:03 -04:00
2022-09-26 10:13:13 -07:00
2021-09-08 15:32:35 -07:00
2023-01-18 18:44:34 +00:00
2021-05-07 00:26:33 -07:00
2022-12-31 13:33:08 +01:00
2023-01-26 12:13:04 +00:00