[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTimUEWrfvuRFAkHkMyefNfQqUW9_ksB9jNHb+n2g@mail.gmail.com>
Date: Thu, 28 Oct 2010 17:02:27 -0700
From: Paul Menage <menage@...gle.com>
To: Li Zefan <lizf@...fujitsu.com>
Cc: "akpm >> Andrew Morton" <akpm@...ux-foundation.org>,
Stephane Eranian <eranian@...gle.com>,
LKML <linux-kernel@...r.kernel.org>,
containers@...ts.linux-foundation.org
Subject: Re: [PATCH 3/7] cgroups: Allow to unbind subsystem from a cgroup hierarachy
On Fri, Oct 22, 2010 at 1:10 AM, Li Zefan <lizf@...fujitsu.com> wrote:
> - for_each_set_bit(i, &added_bits, CGROUP_SUBSYS_COUNT)
> - cg->subsys[i] = cgrp->subsys[i];
> + for_each_set_bit(i, &bits, CGROUP_SUBSYS_COUNT) {
> + if (add)
> + cg->subsys[i] = cgrp->subsys[i];
> + else
> + cg->subsys[i] = dummytop->subsys[i];
> + }
Should these technically be rcu_assign_pointer() ?
Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists