Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1500071

Re: [PATCH] mm/slab: fix kmemcg cache creation delayed issue

From Joonsoo Kim <iamjoonsoo.kim@lge.com>
Newsgroups linux.kernel
Subject Re: [PATCH] mm/slab: fix kmemcg cache creation delayed issue
Date 2016-10-13 10:00 +0200
Message-ID <srJ5L-CJ-1@gated-at.bofh.it> (permalink)
References <spjp7-2A0-11@gated-at.bofh.it> <spvTj-3Nt-15@gated-at.bofh.it> <spyHv-604-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Oct 07, 2016 at 10:20:55AM +0200, Michal Hocko wrote:
> On Fri 07-10-16 14:14:01, Joonsoo Kim wrote:
> > On Thu, Oct 06, 2016 at 09:02:00AM -0700, Doug Smythies wrote:
> > > It was my (limited) understanding that the subsequent 2 patch set
> > > superseded this patch. Indeed, the 2 patch set seems to solve
> > > both the SLAB and SLUB bug reports.
> > 
> > It would mean that patch 1 solves both the SLAB and SLUB bug reports
> > since patch 2 is only effective for SLUB.
> > 
> > Reason that I send this patch is that although patch 1 fixes the
> > issue that too many kworkers are created, kmem_cache creation/destory
> > is still slowed by synchronize_sched() and it would cause kmemcg
> > usage counting delayed. I'm not sure how bad it is but it's generally
> > better to start accounting as soon as possible. With patch 2 for SLUB
> > and this patch for SLAB, performance of kmem_cache
> > creation/destory would recover.
> 
> OK, so do we really want/need it for stable as well. I am not opposing
> that but the effect doesn't seem to be a clear cut.

I think that it's meaningful to solve problematic commit itself
because it would cause the other problem in the future. And, this patch
is simple enough to apply to the stable tree.

Thanks.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

RE: [PATCH] mm/slab: fix kmemcg cache creation delayed issue "Doug Smythies" <dsmythies@telus.net> - 2016-10-06 18:10 +0200
  Re: [PATCH] mm/slab: fix kmemcg cache creation delayed issue Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2016-10-07 07:30 +0200
    Re: [PATCH] mm/slab: fix kmemcg cache creation delayed issue Michal Hocko <mhocko@kernel.org> - 2016-10-07 10:30 +0200
      Re: [PATCH] mm/slab: fix kmemcg cache creation delayed issue Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2016-10-13 10:00 +0200

csiph-web