Chris Goldsworthy
342be123fd
ANDROID: mm: Create hooks for ZONE_MOVABLE allocs
...
Create a vendor hook inside of gfp_zone() to modify which allocations
get to enter ZONE_MOVABLE, by zeroing out __GFP_HIGHMEM inside of the
trace hook based on certain conditions.
Separately, create a trace hook in the readahead path to affect the
behavior of the tracehook in gfp_zone().
In 5.15, we had set_skip_swapcache_flags trace-hook in do_swap_page()
but commit ac26e9c7b809 ("ANDROID: cma: allow to use CMA in swap-in path")
added __GFP_CMA explicitly, so the set_skip_swapcache_flags trace hook
is no longer needed.
Note: To comply with vendor hook guidlines, avoid including types.h in
trace/hooks/mm.h and use unsigned int for gfp_t.
Bug: 158645321
Change-Id: Idfa6b0b06b1b819d706c847e702bc94ddf7aa55a
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org >
Signed-off-by: Sukadev Bhattiprolu <quic_sukadev@quicinc.com >
2023-04-26 17:01:52 +00:00
..
2023-01-24 07:24:37 +01:00
2023-04-20 12:35:12 +02:00
2023-04-26 17:01:52 +00:00
2023-03-15 16:17:14 +00:00
2023-03-30 12:49:09 +02:00
2023-03-11 13:55:16 +01:00
2023-03-21 08:22:15 +00:00
2023-04-26 17:01:52 +00:00
2023-04-20 12:35:06 +02:00
2023-03-30 12:49:29 +02:00
2023-03-17 08:50:30 +01:00
2023-04-26 13:13:19 +00:00
2023-04-21 14:54:53 +00:00
2023-01-24 07:24:35 +01:00
2023-04-13 16:55:31 +02:00
2023-03-31 18:25:45 +00:00
2023-03-24 08:47:17 +00:00
2023-03-10 09:34:19 +01:00
2023-04-13 16:55:25 +02:00
2023-03-10 09:34:25 +01:00
2023-01-07 11:11:40 +01:00
2022-12-31 13:32:38 +01:00
2023-04-26 13:13:19 +00:00
2023-04-26 17:01:50 +00:00
2023-02-01 08:34:40 +01:00
2022-12-31 13:32:39 +01:00
2023-02-09 11:27:59 +01:00
2023-04-26 13:13:19 +00:00
2023-03-10 09:33:34 +01:00
2023-02-09 11:28:04 +01:00
2023-04-26 10:00:48 +00:00
2023-04-26 13:13:19 +00:00
2023-04-26 13:13:19 +00:00
2022-12-31 13:32:45 +01:00
2023-04-22 08:52:25 +00:00
2023-04-26 13:13:19 +00:00
2023-04-13 16:55:30 +02:00
2023-04-26 13:13:19 +00:00
2023-04-06 12:10:58 +02:00
2023-04-13 16:55:31 +02:00
2023-04-20 12:35:10 +02:00
2023-04-06 12:10:50 +02:00
2023-03-30 12:48:59 +02:00
2023-04-12 02:08:28 +00:00
2023-03-20 10:53:38 -07:00
2023-02-09 11:28:04 +01:00
2023-04-26 10:00:48 +00:00
2023-03-17 08:50:31 +01:00
2023-04-11 15:26:03 +00:00
2022-12-31 13:32:41 +01:00
2023-04-22 08:52:25 +00:00
2023-04-24 10:45:38 +00:00
2023-03-22 13:33:56 +01:00
2022-12-31 13:32:25 +01:00
2023-03-15 16:17:14 +00:00
2023-03-11 13:55:32 +01:00
2023-04-12 02:08:27 +00:00
2023-03-24 08:47:17 +00:00
2023-04-20 12:35:14 +02:00
2023-04-26 13:13:19 +00:00
2023-03-22 13:33:46 +01:00
2023-03-10 09:34:20 +01:00
2023-04-26 13:13:19 +00:00
2023-02-09 11:28:25 +01:00
2023-03-22 14:27:16 +00:00
2023-03-10 09:33:01 +01:00
2023-01-07 11:11:55 +01:00
2023-04-22 08:52:25 +00:00
2023-02-01 08:34:49 +01:00
2023-03-11 13:55:40 +01:00
2023-04-20 12:35:05 +02:00
2023-04-13 16:55:22 +02:00
2022-12-31 13:31:56 +01:00
2023-04-26 13:13:19 +00:00
2023-03-10 09:32:56 +01:00
2023-04-06 12:10:44 +02:00
2023-04-26 10:00:48 +00:00
2022-12-31 13:32:00 +01:00
2023-04-06 12:10:46 +02:00
2023-03-13 15:45:34 +00:00
2023-02-01 08:34:05 +01:00
2023-03-10 09:33:45 +01:00
2023-03-11 13:55:30 +01:00
2023-04-06 12:10:46 +02:00
2023-04-26 13:13:19 +00:00
2023-04-13 14:26:27 +00:00
2023-03-11 13:55:40 +01:00
2023-04-13 14:26:27 +00:00
2023-04-06 15:46:10 +00:00
2023-03-31 08:15:39 +00:00
2023-03-30 12:49:29 +02:00
2023-03-21 08:22:15 +00:00
2023-04-06 12:10:33 +02:00
2023-04-22 08:52:25 +00:00
2023-04-25 01:29:15 +00:00
2022-12-31 13:32:38 +01:00
2023-04-26 10:00:48 +00:00
2023-03-22 13:34:03 +01:00
2023-03-10 09:34:32 +01:00
2023-03-22 13:33:44 +01:00
2023-04-20 12:35:07 +02:00
2023-04-11 15:26:03 +00:00
2023-01-26 12:13:04 +00:00
2023-02-01 08:34:26 +01:00
2023-03-11 13:55:24 +01:00
2023-03-10 09:33:02 +01:00