From: Tejun Heo Date: Tue, 18 Jun 2013 18:14:22 +0000 (-0700) Subject: cgroup: clean up cgroup_serial_nr_cursor X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~44^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00356bd5f0f5e04183fb15805eb29e97c2fc20ac;p=pandora-kernel.git cgroup: clean up cgroup_serial_nr_cursor cgroup_serial_nr_cursor was created atomic64_t because I thought it was never gonna used for anything other than assigning unique numbers to cgroups and didn't want to worry about synchronization; however, now we're using it as an event-stamp to distinguish cgroups created before and after certain point which assumes that it's protected by cgroup_mutex. Let's make it clear by making it a u64. Also, rename it to cgroup_serial_nr_next and make it point to the next nr to allocate so that where it's pointing to is clear and more conventional. Signed-off-by: Tejun Heo Cc: Li Zefan --- Reading git-diff-tree failed