android_kernel_oneplus_msm8998/init
Andy Lutomirski 99cf9fa9a0 UPSTREAM: sched/core: Add try_get_task_stack() and put_task_stack()
There are a few places in the kernel that access stack memory
belonging to a different task.  Before we can start freeing task
stacks before the task_struct is freed, we need a way for those code
paths to pin the stack.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Jann Horn <jann@thejh.net>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/17a434f50ad3d77000104f21666575e10a9c1fbd.1474003868.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>

Bug: 38331309
Change-Id: I414853e9b72ecb0967d5e1cbfc77b4929bf3f4f5
(cherry picked from commit c6c314a613cd7d03fb97713e0d642b493de42e69)
Signed-off-by: Zubin Mithra <zsm@google.com>
2017-08-09 15:23:22 +01:00
..
calibrate.c kernel: add calibration_delay_done() 2014-06-16 12:47:39 -06:00
do_mounts.c CHROMIUM: dm: boot time specification of dm= 2016-08-10 13:23:42 -07:00
do_mounts.h CHROMIUM: dm: boot time specification of dm= 2016-08-10 13:23:42 -07:00
do_mounts_dm.c ANDROID: Update init/do_mounts_dm.c to the latest ChromiumOS version. 2017-04-25 15:00:50 -04:00
do_mounts_initrd.c usermodehelper: split remaining calls to call_usermodehelper_fns() 2013-04-30 17:04:06 -07:00
do_mounts_md.c init: disable sparse checking of the mount.o source files 2012-05-31 17:49:27 -07:00
do_mounts_rd.c initramfs: support initramfs that is bigger than 2GiB 2014-08-08 15:57:26 -07:00
init_task.c UPSTREAM: sched/core: Allow putting thread_info into task_struct 2017-08-09 15:23:22 +01:00
initramfs.c initramfs: Add skip_initramfs command line option 2016-02-16 13:54:10 -08:00
Kconfig UPSTREAM: sched/core: Add try_get_task_stack() and put_task_stack() 2017-08-09 15:23:22 +01:00
main.c UPSTREAM: Clarify naming of thread info/stack allocators 2017-08-09 15:23:22 +01:00
Makefile CHROMIUM: dm: boot time specification of dm= 2016-08-10 13:23:42 -07:00
noinitramfs.c initramfs: Add skip_initramfs command line option 2016-02-16 13:54:10 -08:00
version.c copy address of proc_ns_ops into ns_common 2014-12-04 14:34:47 -05:00