Re: [PATCH] cgroup: minor tweak for logic to get cgroup css

2019-07-23 Thread Tejun Heo
On Wed, Jul 03, 2019 at 10:07:49AM +0800, Peng Wang wrote: > We could only handle the case that css exists > and css_try_get_online() fails. > > Signed-off-by: Peng Wang Applied to cgroup/for-5.4. Thanks. -- tejun

Re: [PATCH] cgroup: minor tweak for logic to get cgroup css

2019-07-08 Thread Tejun Heo
On Mon, Jul 08, 2019 at 05:29:49PM +, Roman Gushchin wrote: > On Mon, Jul 08, 2019 at 09:42:43AM -0700, Tejun Heo wrote: > > On Wed, Jul 03, 2019 at 10:07:49AM +0800, Peng Wang wrote: > > > We could only handle the case that css exists > > > and css_try_get_online() fails. > > > > As css_tryge

Re: [PATCH] cgroup: minor tweak for logic to get cgroup css

2019-07-08 Thread Roman Gushchin
On Mon, Jul 08, 2019 at 09:42:43AM -0700, Tejun Heo wrote: > On Wed, Jul 03, 2019 at 10:07:49AM +0800, Peng Wang wrote: > > We could only handle the case that css exists > > and css_try_get_online() fails. > > As css_tryget_online() can't handle NULL input, this is a bug fix. > Can you please clar

Re: [PATCH] cgroup: minor tweak for logic to get cgroup css

2019-07-08 Thread Tejun Heo
On Wed, Jul 03, 2019 at 10:07:49AM +0800, Peng Wang wrote: > We could only handle the case that css exists > and css_try_get_online() fails. As css_tryget_online() can't handle NULL input, this is a bug fix. Can you please clarify that in the description? Thanks. -- tejun

[PATCH] cgroup: minor tweak for logic to get cgroup css

2019-07-02 Thread Peng Wang
We could only handle the case that css exists and css_try_get_online() fails. Signed-off-by: Peng Wang --- kernel/cgroup/cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c index bf9dbffd46b1..a988d77f6c6d 100644 --- a/kern