Commit eebc0f48 authored by Yu Zhao's avatar Yu Zhao Committed by Andrew Morton

mm/codetag: fix a typo

Link: https://lkml.kernel.org/r/20240906042108.1150526-1-yuzhao@google.com
Fixes: 22d407b1 ("lib: add allocation tagging support for memory allocation profiling")
Signed-off-by: default avatarYu Zhao <yuzhao@google.com>
Acked-by: default avatarSuren Baghdasaryan <surenb@google.com>
Acked-by: default avatarMuchun Song <muchun.song@linux.dev>
Cc: Kent Overstreet <kent.overstreet@linux.dev>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 6004fe00
...@@ -70,7 +70,7 @@ static inline struct alloc_tag *ct_to_alloc_tag(struct codetag *ct) ...@@ -70,7 +70,7 @@ static inline struct alloc_tag *ct_to_alloc_tag(struct codetag *ct)
/* /*
* When percpu variables are required to be defined as weak, static percpu * When percpu variables are required to be defined as weak, static percpu
* variables can't be used inside a function (see comments for DECLARE_PER_CPU_SECTION). * variables can't be used inside a function (see comments for DECLARE_PER_CPU_SECTION).
* Instead we will accound all module allocations to a single counter. * Instead we will account all module allocations to a single counter.
*/ */
DECLARE_PER_CPU(struct alloc_tag_counters, _shared_alloc_tag); DECLARE_PER_CPU(struct alloc_tag_counters, _shared_alloc_tag);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment