Re: [External] [PATCH -next] mm/vmscan: Drop duplicated code in drop_slab_node

2020-09-29 Thread Chunxin Zang
te loop in drop_slab_node" > > Cc: Chunxin Zang > Signed-off-by: Kefeng Wang > --- > mm/vmscan.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/mm/vmscan.c b/mm/vmscan.c > index eae57d092931..980155e257bf 100644 > --- a/mm/vmscan.c > +++ b/mm/v

Re: [External] Re: [PATCH] mm/memcontrol: Add the drop_cache interface for cgroup v2

2020-09-22 Thread Chunxin Zang
On Wed, Sep 23, 2020 at 3:57 AM Shakeel Butt wrote: > > On Tue, Sep 22, 2020 at 5:37 AM Chunxin Zang > wrote: > > > > On Tue, Sep 22, 2020 at 6:42 PM Chris Down wrote: > > > > > > Chunxin Zang writes: > > > >On Tue, Sep 22, 2020 at 5:51 P

Re: [External] Re: [PATCH] mm/memcontrol: Add the drop_cache interface for cgroup v2

2020-09-22 Thread Chunxin Zang
On Tue, Sep 22, 2020 at 8:43 PM Chris Down wrote: > > Chunxin Zang writes: > >Please forgive me for not being able to understand why setting > >memory.low for Type_A can solve the problem. > >In my scene, Type_A is the most important, so I will set 100G to memory.low.

Re: [External] Re: [PATCH] mm/memcontrol: Add the drop_cache interface for cgroup v2

2020-09-22 Thread Chunxin Zang
On Tue, Sep 22, 2020 at 6:42 PM Chris Down wrote: > > Chunxin Zang writes: > >On Tue, Sep 22, 2020 at 5:51 PM Chris Down wrote: > >> > >> Chunxin Zang writes: > >> >My usecase is that there are two types of services in one server. They > >

Re: [External] Re: [PATCH] mm/memcontrol: Add the drop_cache interface for cgroup v2

2020-09-22 Thread Chunxin Zang
On Tue, Sep 22, 2020 at 5:51 PM Chris Down wrote: > > Chunxin Zang writes: > >My usecase is that there are two types of services in one server. They > >have difference > >priorities. Type_A has the highest priority, we need to ensure it's > >schedule latency态I/O &g

Re: [External] Re: [PATCH] mm/memcontrol: Add the drop_cache interface for cgroup v2

2020-09-22 Thread Chunxin Zang
On Mon, Sep 21, 2020 at 7:05 PM Michal Hocko wrote: > > On Mon 21-09-20 18:55:40, Yafang Shao wrote: > > On Mon, Sep 21, 2020 at 4:12 PM Michal Hocko wrote: > > > > > > On Mon 21-09-20 16:02:55, zangchun...@bytedance.com wrote: > > > > From: Chunxin

Re: [External] Re: [PATCH v4] mm/vmscan: add a fatal signals check in drop_slab_node

2020-09-15 Thread Chunxin Zang
On Wed, Sep 16, 2020 at 12:26 AM Chris Down wrote: > > Michal Hocko writes: > >On Tue 15-09-20 15:47:37, Chris Down wrote: > >> zangchun...@bytedance.com writes: > >> > + if (signal_pending(current)) > >> > + return; > >> > >> This doesn't match your patch title, please

Re: [External] Re: [PATCH v3] mm/vmscan: add a fatal signals check in drop_slab_node

2020-09-15 Thread Chunxin Zang
On Tue, Sep 15, 2020 at 8:13 PM Michal Hocko wrote: > > On Tue 15-09-20 19:40:01, zangchun...@bytedance.com wrote: > > From: Chunxin Zang > > > > On our server, there are about 10k memcg in one machine. They use memory > > very frequently. We have obse

Re: [External] Re: [PATCH v2] mm/vmscan: fix infinite loop in drop_slab_node

2020-09-14 Thread Chunxin Zang
On Mon, Sep 14, 2020 at 11:17 PM Michal Hocko wrote: > > On Mon 14-09-20 23:02:15, Chunxin Zang wrote: > > On Mon, Sep 14, 2020 at 9:47 PM Michal Hocko wrote: > > > > > On Mon 14-09-20 21:25:59, Chunxin Zang wrote: > > > > On Mon, Sep