Imran Khan
df5442d862
hung task: check specific tasks for long uninterruptible sleep state
...
khungtask by default monitors all tasks for long unterruptible sleep.
This change introduces a sysctl option, /proc/sys/kernel/
hung_task_selective_monitoring, to enable monitoring selected tasks.
If this sysctl option is enabled then only the tasks with
/proc/$PID/hang_detection_enabled set are to be monitored,
otherwise all tasks are monitored as default case.
Some tasks may intentionally moves to uninterruptable sleep state,
which shouldn't leads to khungtask panics, as those are recoverable
hungs. So to avoid false hung reports, add an option to select tasks
to be monitored and report/panic them only.
By default, enable the feature always to monitor selected tasks.
Change-Id: I48cd8cfe73dbe2b577541fe9607190eac5556bb2
Signed-off-by: Imran Khan <kimran@codeaurora.org>
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
[sramana: Resolved minor merge conflict]
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
[rananta: Resolved compilation errors]
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-03-23 15:44:56 -07:00
..
bpf
This is the 5.4.11 stable release
2020-01-12 15:36:52 +01:00
cgroup
Merge android-5.4.9 ( 813bf83) into msm-5.4
2020-03-07 10:01:47 -08:00
configs
debug
kgdb: don't use a notifier to enter kgdb at panic; call directly
2019-09-25 17:51:40 -07:00
dma
dma-mapping: add support for dma-coherent-hint-cached
2020-03-17 16:06:12 -07:00
events
perf: Satisfy the kernel's request to request PMU counters
2020-03-19 06:43:39 -07:00
gcov
um: Enable CONFIG_CONSTRUCTORS
2019-09-15 21:37:13 +02:00
irq
genirq: Honour IRQ's affinity hint during migration
2019-12-10 12:46:22 -08:00
livepatch
locking
locking/spinlock/debug: Fix various data races
2020-01-12 12:21:13 +01:00
power
Merge android-5.4.11 ( fde6e0c) into msm-5.4
2020-03-07 11:05:08 -08:00
printk
Merge remote-tracking branch 'remotes/origin/tmp-935f8bc6f7aa' into msm-lahaina
2019-10-10 20:02:38 -07:00
rcu
Merge remote-tracking branch 'remotes/origin/tmp-935f8bc6f7aa' into msm-lahaina
2019-10-10 20:02:38 -07:00
sched
sched: Add support to spread tasks
2020-03-18 12:41:02 -07:00
time
Merge android-5.4.8 ( de197c5) into msm-5.4
2020-03-06 19:19:20 -08:00
trace
Merge "trace: Add warning threshold for irqsoff time"
2020-03-16 22:55:50 -07:00
.gitignore
acct.c
async.c
audit.c
audit.h
audit_fsnotify.c
audit_tree.c
audit_watch.c
audit_get_nd(): don't unlock parent too early
2019-11-10 11:56:55 -05:00
auditfilter.c
auditsc.c
backtracetest.c
bounds.c
capability.c
cfi.c
ANDROID: add support for Clang's Control Flow Integrity (CFI)
2019-11-27 12:49:12 -08:00
compat.c
configs.c
context_tracking.c
cpu.c
ANDROID: idle_notifier: Add generic idle notifiers
2020-01-31 18:28:45 -08:00
cpu_pm.c
crash_core.c
crash_dump.c
cred.c
memcg: account security cred as well to kmemcg
2020-01-09 10:19:57 +01:00
delayacct.c
dma.c
elfcore.c
kernel/elfcore.c: include proper prototypes
2019-09-25 17:51:39 -07:00
exec_domain.c
exit.c
Merge android-5.4.8 ( de197c5) into msm-5.4
2020-03-06 19:19:20 -08:00
extable.c
fail_function.c
fork.c
Merge android-5.4.12 ( 4bbb960) into msm-5.4
2020-03-07 16:25:51 -08:00
freezer.c
Revert "libata, freezer: avoid block device removal while system is frozen"
2019-10-06 09:11:37 -06:00
futex.c
futex: Prevent exit livelock
2019-11-29 10:10:14 +01:00
gen_kheaders.sh
kheaders: substituting --sort in archive creation
2019-10-17 09:08:19 +09:00
groups.c
hung_task.c
hung task: check specific tasks for long uninterruptible sleep state
2020-03-23 15:44:56 -07:00
iomem.c
irq_work.c
jump_label.c
jump_label: Don't warn on __exit jump entries
2019-08-29 15:10:10 +01:00
kallsyms.c
kcmp.c
Kconfig.freezer
Kconfig.hz
Kconfig.locks
Kconfig.preempt
kcov.c
UPSTREAM: kcov: remote coverage support
2020-01-13 18:54:56 +00:00
kexec.c
kexec_core.c
kexec: bail out upon SIGKILL when allocating memory.
2019-09-25 17:51:40 -07:00
kexec_elf.c
kexec_elf: support 32 bit ELF files
2019-09-06 23:58:44 +02:00
kexec_file.c
Merge branch 'next-lockdown' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
2019-09-28 08:14:15 -07:00
kexec_internal.h
kheaders.c
kmod.c
kprobes.c
Tracing updates:
2019-09-20 11:19:48 -07:00
ksysfs.c
kthread.c
kthread: make __kthread_queue_delayed_work static
2019-10-16 09:20:58 -07:00
latencytop.c
Makefile
ANDROID: add support for Clang's Control Flow Integrity (CFI)
2019-11-27 12:49:12 -08:00
module-internal.h
module.c
This is the 5.4.9 stable release
2020-01-09 16:00:18 +01:00
module_signature.c
module_signing.c
notifier.c
nsproxy.c
padata.c
padata: remove cpu_index from the parallel_queue
2019-09-13 21:15:41 +10:00
panic.c
panic: ensure preemption is disabled during panic()
2019-10-07 15:47:19 -07:00
params.c
pid.c
pid_namespace.c
profile.c
ptrace.c
range.c
reboot.c
FROMLIST: reboot: Export reboot_mode
2019-11-25 11:46:31 -08:00
relay.c
resource.c
mm/memory_hotplug.c: use PFN_UP / PFN_DOWN in walk_system_ram_range()
2019-09-24 15:54:09 -07:00
rseq.c
scs.c
FROMLIST: scs: add support for stack usage debugging
2019-11-27 12:49:09 -08:00
seccomp.c
seccomp: Check that seccomp_notif is zeroed out by the user
2020-01-09 10:19:57 +01:00
signal.c
mm/oom-kill: Add option to panic when killing foreground app
2020-02-27 15:13:15 -08:00
smp.c
smp: Wake up all idle CPUs when suspending to idle
2020-01-15 14:35:44 -08:00
smpboot.c
smpboot.h
softirq.c
trace: Add trace points for tasklet entry/exit
2020-02-25 07:37:13 -08:00
stackleak.c
stacktrace.c
stacktrace: Don't skip first entry on noncurrent tasks
2019-11-04 21:19:25 +01:00
stop_machine.c
stop_machine: Avoid potential race behaviour
2019-10-17 12:47:12 +02:00
sys.c
Merge Linus's 5.4-rc1-prerelease branch into android-mainline
2019-09-20 16:07:54 -07:00
sys_ni.c
sysctl.c
hung task: check specific tasks for long uninterruptible sleep state
2020-03-23 15:44:56 -07:00
sysctl_binary.c
task_work.c
taskstats.c
taskstats: fix data-race
2020-01-09 10:19:54 +01:00
test_kprobes.c
torture.c
tracepoint.c
tsacct.c
ucount.c
uid16.c
uid16.h
umh.c
up.c
user-return-notifier.c
user.c
user_namespace.c
utsname.c
utsname_sysctl.c
watchdog.c
watchdog: use per_cpu_ptr() in watchdog_disable()
2019-12-10 12:46:40 -08:00
watchdog_hld.c
workqueue.c
Merge android-5.4.5 (9cdc723) into msm-5.4
2020-01-23 04:00:53 -08:00
workqueue_internal.h