diff options
| author | Abhimanyu Kapur <abhimany@codeaurora.org> | 2013-10-15 19:20:40 -0700 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-09-20 16:18:31 +0200 |
| commit | 5e46d6b873b4c17db6c0b802c2fef1f0f54b1b27 (patch) | |
| tree | edc202a4df2b51d3f90f9d4df37d832c55a99683 /arch | |
| parent | 8b9af07cd707b04d267142801da8090ef22fc2ee (diff) | |
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: Abhimanyu Kapur <abhimany@codeaurora.org>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/arm64/include/asm/thread_info.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/thread_info.h b/arch/arm64/include/asm/thread_info.h index ffbb019a9..dbfbdec63 100644 --- a/arch/arm64/include/asm/thread_info.h +++ b/arch/arm64/include/asm/thread_info.h @@ -129,6 +129,8 @@ 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 + #if defined(CONFIG_MT_RT_SCHED) #define TIF_NEED_RELEASED 31 #endif |
