Re: [PATCH v2] memcg: refill_stock for kmem uncharging too

2019-04-28 Thread Shakeel Butt
On Wed, Apr 24, 2019 at 11:49 PM Michal Hocko wrote: > > On Tue 23-04-19 08:44:05, Shakeel Butt wrote: > > The commit 475d0487a2ad ("mm: memcontrol: use per-cpu stocks for socket > > memory uncharging") added refill_stock() for skmem uncharging path to > > optimize workloads having high network

Re: [PATCH v2] memcg: refill_stock for kmem uncharging too

2019-04-25 Thread Michal Hocko
On Tue 23-04-19 08:44:05, Shakeel Butt wrote: > The commit 475d0487a2ad ("mm: memcontrol: use per-cpu stocks for socket > memory uncharging") added refill_stock() for skmem uncharging path to > optimize workloads having high network traffic. Do the same for the kmem > uncharging as well. Though we

[PATCH v2] memcg: refill_stock for kmem uncharging too

2019-04-23 Thread Shakeel Butt
The commit 475d0487a2ad ("mm: memcontrol: use per-cpu stocks for socket memory uncharging") added refill_stock() for skmem uncharging path to optimize workloads having high network traffic. Do the same for the kmem uncharging as well. Though we can bypass the refill for the offlined memcgs but it