Re: [PATCH 0/4] percpu: add basic stats and tracepoints to percpu allocator
From: Tejun Heo
Date: Tue Jun 20 2017 - 13:45:39 EST
On Mon, Jun 19, 2017 at 07:28:28PM -0400, Dennis Zhou wrote:
> There is limited visibility into the percpu memory allocator making it hard to
> understand usage patterns. Without these concrete numbers, we are left to
> conjecture about the correctness of percpu memory patterns and usage.
> Additionally, there is no mechanism to review the correctness/efficiency of the
> current implementation.
>
> This patchset address the following:
> - Adds basic statistics to reason about the number of allocations over the
> lifetime, allocation sizes, and fragmentation.
> - Adds tracepoints to enable better debug capabilities as well as the ability
> to review allocation requests and corresponding decisions.
>
> This patchiest contains the following four patches:
> 0001-percpu-add-missing-lockdep_assert_held-to-func-pcpu_.patch
> 0002-percpu-migrate-percpu-data-structures-to-internal-he.patch
> 0003-percpu-expose-statistics-about-percpu-memory-via-deb.patch
> 0004-percpu-add-tracepoint-support-for-percpu-memory.patch
Applied to percpu/for-4.13. I had to update 0002 because of the
recent __ro_after_init changes. Can you please see whether I made any
mistakes while updating it?
git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu.git for-4.13
Thanks.
--
tejun