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

2021-04-12 Thread Waiman Long
On 4/12/21 2:55 PM, Roman Gushchin wrote: On Fri, Apr 09, 2021 at 07:18:42PM -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 d

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

2021-04-12 Thread Roman Gushchin
On Fri, Apr 09, 2021 at 07:18:42PM -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