Re: [PATCH 1/9] cgroup: use restart_syscall() for mount retries

2014-05-13 Thread Li Zefan
On 2014/5/10 5:13, Tejun Heo wrote: > 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 > bo

[PATCH 1/9] cgroup: use restart_syscall() for mount retries

2014-05-09 Thread Tejun Heo
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 an