[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAGj-7pVwCrjeixvOqzx8x-3wpZ8ZnvUki5XQtRPtXMa2QjU15A@mail.gmail.com>
Date: Thu, 4 Jul 2024 20:43:03 -0700
From: Shakeel Butt <shakeel.butt@...il.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Shakeel Butt <shakeel.butt@...ux.dev>, Roman Gushchin <roman.gushchin@...ux.dev>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, Johannes Weiner <hannes@...xchg.org>,
Michal Hocko <mhocko@...nel.org>, Muchun Song <muchun.song@...ux.dev>
Subject: Re: [PATCH v1 6/9] mm: memcg: put memcg1-specific struct mem_cgroup's
members under CONFIG_MEMCG_V1
On Thu, Jul 4, 2024 at 4:35 PM Andrew Morton <akpm@...ux-foundation.org> wrote:
>
> On Fri, 28 Jun 2024 17:48:54 -0700 Shakeel Butt <shakeel.butt@...ux.dev> wrote:
>
> > > - /* For oom notifier event fd */
> > > - struct list_head oom_notify;
> > > -
> > > - /*
> > > - * Should we move charges of a task when a task is moved into this
> > > - * mem_cgroup ? And what type of charges should we move ?
> > > - */
> > > - unsigned long move_charge_at_immigrate;
> > > - /* taken only while moving_account > 0 */
> > > - spinlock_t move_lock;
> > > - unsigned long move_lock_flags;
> > > -
> > > CACHELINE_PADDING(_pad1_);
> >
> > Let's also remove these _pad1_ and also _pad2_ as well as this
> > rearrangement nullifies the reasons behind these paddings. We need to
> > run some perf benchmarks to identify the newer false cache sharing
> > ields.
>
> I guess this is going to be a followup patch (please).
Already posted [1] and has been picked.
[1] https://lore.kernel.org/linux-mm/20240701185932.704807-1-roman.gushchin@linux.dev/
Powered by blists - more mailing lists