Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c047bde2 authored by Abhimanyu Kapur's avatar Abhimanyu Kapur Committed by Matt Wagantall
Browse files

arm64: process management: Add TIF_MM_RELEASED



Add a new task info flag to represent a task
whose mm struct has been freed. This is used by the
android low memory killer to track tasks whose
mm struct has been freed.

Change-Id: Id72e67e31fb52e07f01fb6e234b102f63b400aa5
Signed-off-by: default avatarAbhimanyu Kapur <abhimany@codeaurora.org>
parent 0f94a3e8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -119,6 +119,7 @@ static inline struct thread_info *current_thread_info(void)
#define TIF_SINGLESTEP		21
#define TIF_32BIT		22	/* 32bit process */
#define TIF_SWITCH_MM		23	/* deferred switch_mm */
#define TIF_MM_RELEASED		24

#define _TIF_SIGPENDING		(1 << TIF_SIGPENDING)
#define _TIF_NEED_RESCHED	(1 << TIF_NEED_RESCHED)