Tejun Heo
a015edd26e
cgroup: use restart_syscall() for mount retries
...
cgroup_mount() uses dumb delay-and-retry logic to wait for cgroup_root
which is being destroyed. The retry currently loops inside
cgroup_mount() proper. This patch makes it return with
restart_syscall() instead so that retry travels out to userland
boundary.
This slightly simplifies the logic and more importantly makes the
retry logic behave better when the wait for some reason becomes
lengthy or infinite by allowing the operation to be suspended or
terminated from userland.
v2: The original patch forgot to free memory allocated for @opts.
Fixed. Caught by Li Zefan.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
2014-05-14 09:15:00 -04:00
..
2014-04-07 16:35:53 -07:00
2014-05-13 12:11:01 -04:00
2013-11-13 12:09:34 +09:00
2014-03-22 11:33:09 +01:00
2014-04-16 16:35:18 -07:00
2014-04-07 16:36:11 -07:00
2014-04-03 16:21:08 -07:00
2014-03-31 11:21:19 -07:00
2014-04-19 10:40:51 -07:00
2014-04-15 20:26:58 +02:00
2014-04-18 10:16:43 -07:00
2013-12-10 18:21:34 +00:00
2014-02-18 11:17:17 +01:00
2014-02-18 11:17:17 +01:00
2014-04-12 12:38:53 -07:00
2014-03-20 10:10:53 -04:00
2014-04-12 12:38:53 -07:00
2014-04-12 12:38:53 -07:00
2013-12-20 12:25:45 -08:00
2014-04-03 09:26:18 -07:00
2014-05-13 12:16:21 -04:00
2014-05-14 09:15:00 -04:00
2014-04-02 12:51:41 -07:00
2013-12-02 20:43:14 +01:00
2014-03-20 13:43:40 +01:00
2014-05-13 12:16:21 -04:00
2013-11-13 12:09:12 +09:00
2013-11-09 00:16:23 -05:00
2014-04-07 16:36:06 -07:00
2014-02-13 18:13:22 -08:00
2014-04-07 16:36:11 -07:00
2013-12-19 13:50:32 -05:00
2014-02-02 14:09:12 -08:00
2014-04-12 17:57:51 -07:00
2014-04-03 16:21:05 -07:00
2014-03-20 12:35:46 +01:00
2014-04-03 16:21:07 -07:00
2014-02-21 21:49:07 +01:00
2013-10-19 19:45:35 -04:00
2014-04-07 16:36:11 -07:00
2013-11-15 09:32:22 +09:00
2014-04-07 16:36:11 -07:00
2014-02-05 12:54:53 -08:00
2013-11-13 12:09:26 +09:00
2014-04-25 12:00:49 -07:00
2014-04-03 16:20:49 -07:00
2014-03-31 14:13:25 -07:00
2013-10-25 17:15:18 -04:00
2013-09-25 17:17:01 +01:00
2014-04-07 16:36:14 -07:00
2014-02-26 06:35:13 -08:00
2013-09-07 14:35:32 -07:00
2013-12-05 21:28:42 +08:00
2014-04-07 16:36:08 -07:00
2013-12-04 14:09:46 +10:30
2014-04-02 16:20:21 -07:00
2013-09-30 14:31:03 -07:00
2013-12-09 16:56:29 +01:00
2014-04-07 14:55:46 -07:00
2014-03-06 15:35:10 +01:00
2013-12-18 19:04:50 -08:00
2014-04-12 14:49:50 -07:00
2014-04-07 16:35:54 -07:00
2014-04-03 16:21:07 -07:00
2014-04-16 15:25:53 -04:00
2014-04-07 16:36:11 -07:00
2014-02-24 14:47:15 -08:00
2013-07-14 19:36:59 -04:00
2014-03-19 11:28:14 +01:00
2014-03-11 11:33:47 +01:00
2014-04-03 16:21:05 -07:00
2014-04-07 16:35:52 -07:00
2013-11-13 12:09:33 +09:00
2014-04-25 12:00:49 -07:00
2013-12-10 18:25:28 +00:00
2013-12-10 18:25:28 +00:00
2013-09-11 15:58:27 -07:00
2013-11-19 16:39:05 -05:00
2014-04-01 11:00:07 -07:00
2014-02-23 09:04:39 -08:00
2014-04-12 13:06:10 -07:00
2013-08-30 23:44:11 -07:00
2014-02-24 14:47:15 -08:00
2014-04-14 16:03:02 -07:00
2014-04-03 16:21:07 -07:00
2013-08-30 23:44:11 -07:00
2014-04-18 16:40:08 -07:00
2014-04-01 11:00:07 -07:00