Files
linux/drivers
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-03-21 08:22:15 +00:00
2023-04-26 13:13:19 +00:00
2023-03-24 08:47:17 +00:00
2023-04-13 16:55:25 +02:00
2023-04-26 13:13:19 +00:00
2023-04-26 13:13:19 +00:00
2023-04-26 13:13:19 +00:00
2023-04-26 13:13:19 +00:00
2023-04-22 08:52:25 +00:00
2023-04-26 13:13:19 +00:00
2023-04-26 13:13:19 +00:00
2023-04-13 16:55:31 +02:00
2023-04-22 08:52:25 +00:00
2023-03-24 08:47:17 +00:00
2023-04-26 13:13:19 +00:00
2023-04-26 13:13:19 +00:00
2023-02-09 11:28:25 +01:00
2023-04-22 08:52:25 +00:00
2023-04-26 13:13:19 +00:00
2023-04-06 12:10:44 +02:00
2023-04-06 12:10:46 +02:00
2023-04-26 13:13:19 +00:00
2023-03-31 08:15:39 +00:00
2023-03-21 08:22:15 +00:00
2023-04-22 08:52:25 +00:00
2023-03-10 09:34:32 +01:00
2023-01-26 12:13:04 +00:00