Eric W. Biederman b9a985db98 pid_ns: Sleep in TASK_INTERRUPTIBLE in zap_pid_ns_processes
The code can potentially sleep for an indefinite amount of time in
zap_pid_ns_processes triggering the hung task timeout, and increasing
the system average.  This is undesirable.  Sleep with a task state of
TASK_INTERRUPTIBLE instead of TASK_UNINTERRUPTIBLE to remove these
undesirable side effects.

Apparently under heavy load this has been allowing Chrome to trigger
the hung time task timeout error and cause ChromeOS to reboot.

Reported-by: Vovo Yang <vovoy@google.com>
Reported-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Fixes: 6347e9009104 ("pidns: guarantee that the pidns init will be the last pidns process reaped")
Cc: stable@vger.kernel.org
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
2017-05-13 17:26:01 -05:00
..
2017-05-12 15:57:15 -07:00
2017-05-08 19:03:25 -07:00
2017-05-08 18:49:23 -07:00
2017-05-12 15:57:15 -07:00
2015-11-19 17:51:48 +01:00
2017-01-12 07:01:56 -07:00
2015-11-23 09:44:58 +01:00
2017-05-08 17:15:12 -07:00
2017-05-05 11:36:44 -07:00
2017-04-21 20:30:46 +08:00
2016-03-01 20:36:56 +01:00
2016-12-22 22:58:37 -05:00