Pavankumar Kondeti
4d09122c18
sched: Fix spinlock recursion in sched_exit()
...
The exiting task's prev_window and curr_window arrays are freed
with rq->lock acquired. The kfree() may wakeup kswapd and if
kswapd wakeup needs the same rq->lock, we hit a deadlock. Fix
this issue by freeing these arrays after releasing the lock.
Since the task is already marked as exiting under lock, delaying
the freeing of the current and window arrays will not have
any side effect.
Change-Id: I3282d91ba715765e38177b9d66be32aaed989303
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2018-01-10 15:15:41 +05:30
..
bpf
This is the 4.9.55 stable release
2017-10-12 22:54:16 +02:00
configs
ANDROID: add script to fetch android kernel config fragments
2017-10-03 17:19:26 +00:00
debug
This is the 4.9.6 stable release
2017-01-31 13:55:27 -08:00
events
perf: Fix event cleanup across CPU hotplugs
2017-12-01 21:14:53 -08:00
gcov
gcov: support GCC 7.1
2017-09-02 07:07:53 +02:00
irq
Merge remote-tracking branch '4.9/tmp-379e3b2' into 4.9
2017-10-17 14:48:18 -07:00
livepatch
livepatch/module: make TAINT_LIVEPATCH module-specific
2016-08-26 14:42:08 +02:00
locking
Merge "Merge remote-tracking branch '4.9/tmp-fd67b2f' into msm-4.9"
2017-10-25 17:26:23 -07:00
power
qos: Pass the list of cpus with affected qos to notifer
2017-11-03 12:18:22 +05:30
printk
Merge branch 'upstream-linux-4.9.y' into android-4.9
2017-02-23 14:29:44 -08:00
rcu
Merge remote-tracking branch '4.9/tmp-86f97ab' into msm-4.9
2017-10-19 13:18:38 -07:00
sched
sched: Fix spinlock recursion in sched_exit()
2018-01-10 15:15:41 +05:30
time
kernel: Fix build errors due to uninitialized variables
2017-12-05 17:29:24 -08:00
trace
soc: qcom: Register default dump entries to minidump table
2017-11-27 14:22:11 +05:30
.gitignore
acct.c
async.c
async: export current_is_async()
2015-11-19 17:51:48 +01:00
audit.c
Merge branch 'stable-4.9' of git://git.infradead.org/users/pcmoore/audit
2016-10-04 14:21:41 -07:00
audit.h
Merge branch 'stable-4.8' of git://git.infradead.org/users/pcmoore/audit
2016-07-29 17:54:17 -07:00
audit_fsnotify.c
wrappers for ->i_mutex access
2016-01-22 18:04:28 -05:00
audit_tree.c
audit: cleanup prune_tree_thread
2016-04-04 09:46:47 -04:00
audit_watch.c
audit: Fix use after free in audit_remove_watch_rule()
2017-08-24 17:12:18 -07:00
auditfilter.c
audit: add fields to exclude filter by reusing user filter
2016-06-27 11:01:00 -04:00
auditsc.c
Merge branch 'stable-4.9' of git://git.infradead.org/users/pcmoore/audit
2016-10-04 14:21:41 -07:00
backtracetest.c
bounds.c
capability.c
ptrace: Capture the ptracer's creds not PT_PTRACE_CAP
2017-01-06 10:40:13 +01:00
cgroup.c
Merge remote-tracking branch '4.9/tmp-85e1c01' into 4.9
2017-09-07 14:32:09 -07:00
cgroup_freezer.c
cgroup: kill cgrp_ss_priv[CGROUP_CANFORK_COUNT] and friends
2015-12-03 10:24:08 -05:00
cgroup_pids.c
cgroup/pids: remove spurious suspicious RCU usage warning
2017-03-26 13:05:58 +02:00
compat.c
kernel: Fix build errors due to uninitialized variables
2017-12-05 17:29:24 -08:00
configs.c
context_tracking.c
context_tracking: Switch to new static_branch API
2015-11-24 09:56:43 +01:00
cpu.c
arm: highmem: Fix CPU_DYING callback for kmap
2017-11-07 18:14:30 +08:00
cpu_pm.c
lpm-levels: Do not disable non-sec interrupts in suspend
2017-02-23 10:43:32 -07:00
cpuset.c
Merge "Merge remote-tracking branch '4.9/tmp-05a906d' into msm-4.9"
2017-10-24 19:57:25 -07:00
crash_dump.c
cred.c
cred: Reject inodes with invalid ids in set_create_file_as()
2016-06-30 18:05:09 -05:00
delayacct.c
kmemcg: account certain kmem allocations to memcg
2016-01-14 16:00:49 -08:00
dma.c
elfcore.c
exec_domain.c
exit.c
android/lowmemorykiller: Ignore tasks with freed mm
2017-07-20 11:17:28 +05:30
extable.c
kernel/extable.c: mark core_kernel_text notrace
2017-07-21 07:42:21 +02:00
fork.c
mm: oom: let oom_reap_task and exit_mmap run concurrently
2017-11-21 03:25:12 -08:00
freezer.c
freezer, oom: check TIF_MEMDIE on the correct task
2016-07-28 16:07:41 -07:00
futex.c
futex: Remove unnecessary warning from get_futex_key
2017-08-16 13:43:15 -07:00
futex_compat.c
ptrace: use fsuid, fsgid, effective creds for fs access checks
2016-01-20 17:09:18 -08:00
groups.c
cred: simpler, 1D supplementary groups
2016-10-07 18:46:30 -07:00
hung_task.c
hung task: check specific tasks for long uninterruptible sleep state
2017-10-25 13:51:29 +05:30
irq_work.c
treewide: Remove old email address
2015-11-23 09:44:58 +01:00
jump_label.c
jump_labels: API for flushing deferred jump label updates
2017-01-19 20:17:59 +01:00
kallsyms.c
kallsyms: add support for relative offsets in kallsyms address table
2016-03-15 16:55:16 -07:00
kcmp.c
ptrace: use fsuid, fsgid, effective creds for fs access checks
2016-01-20 17:09:18 -08:00
Kconfig.freezer
Kconfig.hz
Kconfig.locks
Kconfig.preempt
kcov.c
kcov: make kcov work properly with KASLR enabled
2017-09-19 10:18:24 -07:00
kexec.c
kexec: allow architectures to override boot mapping
2016-08-02 19:35:27 -04:00
kexec_core.c
kexec: add restriction on kexec_load() segment sizes
2016-08-02 19:35:31 -04:00
kexec_file.c
kexec_file: adjust declaration of kexec_purgatory
2017-08-07 17:39:02 -07:00
kexec_internal.h
kexec_file: adjust declaration of kexec_purgatory
2017-08-07 17:39:02 -07:00
kmod.c
kmod: don't run async usermode helper as a child of kworker thread
2015-10-23 17:55:10 +09:00
kprobes.c
tracing/kprobes: Enforce kprobes teardown after testing
2017-05-25 15:44:47 +02:00
ksysfs.c
kexec: add a kexec_crash_loaded() function
2016-08-02 19:35:30 -04:00
kthread.c
Revert "kthread: Ensure task isn't preempted before dequeue in kthread_parkme"
2017-07-12 16:20:39 -07:00
latencytop.c
sched/debug: Make schedstats a runtime tunable that is disabled by default
2016-02-09 11:54:23 +01:00
Makefile
kernel/watchdog.c: move hardlockup detector to separate file
2017-06-17 06:41:57 +02:00
membarrier.c
Fix: Disable sys_membarrier when nohz_full is enabled
2017-03-12 06:41:45 +01:00
memremap.c
mm, devm_memremap_pages: hold device_hotplug lock over mem_hotplug_{begin, done}
2017-03-12 06:41:43 +01:00
module-internal.h
module.c
Re-enable CONFIG_MODVERSIONS in a slightly weaker form
2016-11-29 16:01:30 -08:00
module_signing.c
KEYS: Move the point of trust determination to __key_link()
2016-04-11 22:43:43 +01:00
notifier.c
nsproxy.c
cgroup: introduce cgroup namespaces
2016-02-16 13:04:58 -05:00
padata.c
padata: free correct variable
2017-05-20 14:28:40 +02:00
panic.c
soc: qcom: Register default dump entries to minidump table
2017-11-27 14:22:11 +05:30
params.c
Nothing exciting, minor tweaks and cleanups.
2015-11-09 15:53:39 -08:00
pid.c
pids: make task_tgid_nr_ns() safe
2017-08-24 17:12:21 -07:00
pid_namespace.c
pid_ns: Sleep in TASK_INTERRUPTIBLE in zap_pid_ns_processes
2017-05-25 15:44:38 +02:00
profile.c
profile: Convert to hotplug state machine
2016-07-15 10:41:42 +02:00
ptrace.c
ptrace: Properly initialize ptracer_cred on fork
2017-06-14 15:05:54 +02:00
range.c
reboot.c
relay.c
relay: check array offset before using it
2017-01-12 11:39:30 +01:00
resource.c
kernel: Restrict permissions of /proc/iomem.
2017-08-22 16:19:49 -07:00
seccomp.c
seccomp: fix the usage of get/put_seccomp_filter() in seccomp_get_filter()
2017-10-05 09:44:02 +02:00
signal.c
signal: protect SIGNAL_UNKILLABLE from unintentional clearing.
2017-08-11 08:49:36 -07:00
smp.c
smp: Wake up all idle CPUs when suspending to idle
2017-09-07 12:29:06 -07:00
smpboot.c
sched: Add per CPU load tracking for each task
2017-02-07 14:50:51 -08:00
smpboot.h
cpu/hotplug: Create hotplug threads
2016-03-01 20:36:56 +01:00
softirq.c
softirq: defer softirq processing to ksoftirqd if CPU is busy with RT
2017-08-07 15:54:09 +05:30
stacktrace.c
stacktrace, lockdep: Fix address, newline ugliness
2017-02-14 15:25:42 -08:00
stop_machine.c
Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2016-10-03 13:39:00 -07:00
sys.c
ANDROID: mm: add a field to store names for private anonymous memory
2017-01-27 13:52:21 -08:00
sys_ni.c
x86/pkeys: Fix pkeys build breakage for some non-x86 arches
2016-09-13 14:41:36 +02:00
sysctl.c
Merge "hung task: check specific tasks for long uninterruptible sleep state"
2017-10-26 03:03:08 -07:00
sysctl_binary.c
sysctl: add cold_boot sysctl entry
2017-01-11 13:57:41 -08:00
task_work.c
task_work: use READ_ONCE/lockless_dereference, avoid pi_lock if !task_works
2016-08-02 19:35:02 -04:00
taskstats.c
taskstats: fix the length of cgroupstats_cmd_get_policy
2016-11-03 16:55:58 -04:00
test_kprobes.c
torture.c
torture: Convert torture_shutdown() to hrtimer
2016-08-22 10:01:49 -07:00
tracepoint.c
kernel/...: convert pr_warning to pr_warn
2016-03-22 15:36:02 -07:00
tsacct.c
time, acct: Drop irq save & restore from __acct_update_integrals()
2016-02-29 09:53:09 +01:00
ucount.c
kernel/ucount.c: mark user_header with kmemleak_ignore()
2017-06-17 06:41:51 +02:00
uid16.c
cred: simpler, 1D supplementary groups
2016-10-07 18:46:30 -07:00
up.c
smp: Add function to execute a function synchronously on a CPU
2016-09-05 13:52:39 +02:00
user-return-notifier.c
user.c
user_namespace.c
Merge branch 'nsfs-ioctls' into HEAD
2016-09-22 20:00:36 -05:00
utsname.c
Merge branch 'nsfs-ioctls' into HEAD
2016-09-22 20:00:36 -05:00
utsname_sysctl.c
watchdog.c
ANDROID: hardlockup: detect hard lockups without NMIs using secondary cpus
2017-08-28 11:25:03 -07:00
watchdog_hld.c
ANDROID: hardlockup: detect hard lockups without NMIs using secondary cpus
2017-08-28 11:25:03 -07:00
workqueue.c
Merge remote-tracking branch '4.9/tmp-4b2b8b9' into msm-4.9
2017-11-05 14:31:07 -08:00
workqueue_internal.h
workqueue: Fix NULL pointer dereference
2017-11-15 15:53:17 +01:00