Re: [PATCH v2 2/5] mm: kmem: add direct objcg pointer to task_struct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 11, 2023 at 06:01:01PM +0000, Shakeel Butt wrote:
> On Mon, Oct 09, 2023 at 05:09:26PM -0700, Roman Gushchin wrote:
> [...]
> > +static void mem_cgroup_kmem_attach(struct cgroup_taskset *tset)
> > +{
> > +	struct task_struct *task;
> > +	struct cgroup_subsys_state *css;
> > +
> > +	cgroup_taskset_for_each(task, css, tset) {
> > +		/* atomically set the update bit */
> > +		set_bit(0, (unsigned long *)&current->objcg);
> 
> task instead of current ??

Oh, right, of course, good catch!

Thanks!




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux