Re: [PATCH 4/4][3.15.x] cgroup: fix a race between cgroup_mount() and cgroup_kill_sb()

2014-07-14 Thread Greg Kroah-Hartman
On Mon, Jul 14, 2014 at 02:04:43PM +0800, Li Zefan wrote: > commit 3a32bd72d77058d768dbb38183ad517f720dd1bc upstream. > Thanks for all 4 of these, now applied. greg k-h -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majord...@vger.kernel.org More

[PATCH 4/4][3.15.x] cgroup: fix a race between cgroup_mount() and cgroup_kill_sb()

2014-07-13 Thread Li Zefan
commit 3a32bd72d77058d768dbb38183ad517f720dd1bc upstream. We've converted cgroup to kernfs so cgroup won't be intertwined with vfs objects and locking, but there are dark areas. Run two instances of this script concurrently: for ((; ;)) { mount -t cgroup -o cpuacct xxx /cgroup