mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-18 23:29:57 +02:00
ANDROID: mm: allow hooks into free_pages_prepare()
Allow drivers to register mm_page_free hooks when free pages. This helps to get page info when free pages exit. Bug: 348514795 Change-Id: I1f2e1844aa24836367da65e8bfe11f79e22713d4 Signed-off-by: Qinglin Li <qinglin.li@amlogic.com>
This commit is contained in:
parent
379c8853b2
commit
05a1f39385
|
@ -69,6 +69,7 @@
|
|||
#include <trace/hooks/mm.h>
|
||||
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(mm_page_alloc);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(mm_page_free);
|
||||
|
||||
/* Free Page Internal flags: for internal, non-pcp variants of free_pages(). */
|
||||
typedef int __bitwise fpi_t;
|
||||
|
|
Loading…
Reference in New Issue
Block a user