Re: [PATCH v3 5/5] mm/memcg: Optimize user context object stock access

2021-04-15 Thread Waiman Long
On 4/15/21 2:53 PM, Johannes Weiner wrote: On Thu, Apr 15, 2021 at 02:16:17PM -0400, Waiman Long wrote: On 4/15/21 1:53 PM, Johannes Weiner wrote: On Tue, Apr 13, 2021 at 09:20:27PM -0400, Waiman Long wrote: Most kmem_cache_alloc() calls are from user context. With instrumentation enabled, the

Re: [PATCH v3 5/5] mm/memcg: Optimize user context object stock access

2021-04-15 Thread Johannes Weiner
On Thu, Apr 15, 2021 at 02:16:17PM -0400, Waiman Long wrote: > On 4/15/21 1:53 PM, Johannes Weiner wrote: > > On Tue, Apr 13, 2021 at 09:20:27PM -0400, Waiman Long wrote: > > > Most kmem_cache_alloc() calls are from user context. With instrumentation > > > enabled, the measured amount of kmem_cache

Re: [PATCH v3 5/5] mm/memcg: Optimize user context object stock access

2021-04-15 Thread Waiman Long
On 4/15/21 1:53 PM, Johannes Weiner wrote: On Tue, Apr 13, 2021 at 09:20:27PM -0400, Waiman Long wrote: Most kmem_cache_alloc() calls are from user context. With instrumentation enabled, the measured amount of kmem_cache_alloc() calls from non-task context was about 0.01% of the total. The irq

Re: [PATCH v3 5/5] mm/memcg: Optimize user context object stock access

2021-04-15 Thread Johannes Weiner
On Tue, Apr 13, 2021 at 09:20:27PM -0400, Waiman Long wrote: > Most kmem_cache_alloc() calls are from user context. With instrumentation > enabled, the measured amount of kmem_cache_alloc() calls from non-task > context was about 0.01% of the total. > > The irq disable/enable sequence used in this

Re: [PATCH v3 5/5] mm/memcg: Optimize user context object stock access

2021-04-15 Thread Masayoshi Mizuma
On Thu, Apr 15, 2021 at 11:44:55AM +0200, Christoph Lameter wrote: > Would you please stop quoting the whole patch when you have nothing to say > about the details? It is enough to just respond without quoting. I was > looking through this trying to find something you said about individual > sectio

Re: [PATCH v3 5/5] mm/memcg: Optimize user context object stock access

2021-04-15 Thread Christoph Lameter
On Wed, 14 Apr 2021, Masayoshi Mizuma wrote: > Please feel free to add: > > Tested-by: Masayoshi Mizuma > > Thanks! > Masa > Would you please stop quoting the whole patch when you have nothing to say about the details? It is enough to just respond without quoting. I was looking through this tryi

Re: [PATCH v3 5/5] mm/memcg: Optimize user context object stock access

2021-04-14 Thread Masayoshi Mizuma
On Tue, Apr 13, 2021 at 09:20:27PM -0400, Waiman Long wrote: > Most kmem_cache_alloc() calls are from user context. With instrumentation > enabled, the measured amount of kmem_cache_alloc() calls from non-task > context was about 0.01% of the total. > > The irq disable/enable sequence used in this