]> www.infradead.org Git - users/hch/misc.git/commit
mm/codetag: uninline and move pgalloc_tag_copy and pgalloc_tag_split
authorSuren Baghdasaryan <surenb@google.com>
Thu, 24 Oct 2024 16:23:18 +0000 (09:23 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 7 Nov 2024 22:25:17 +0000 (14:25 -0800)
commitb7fc16a16b0850e41b88eae0edfa4c085c012347
tree78d5980ac97ec2e068e8e60ee65094bb2cf92211
parent4835f747d3ed181bf2c67930fe06b2c01a5d2323
mm/codetag: uninline and move pgalloc_tag_copy and pgalloc_tag_split

pgalloc_tag_copy() and pgalloc_tag_split() are sizable and outside of any
performance-critical paths, so it should be fine to uninline them.  Also
move their declarations into pgalloc_tag.h which seems like a more
appropriate place for them.  No functional changes other than uninlining.

Link: https://lkml.kernel.org/r/20241024162318.1640781-1-surenb@google.com
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Suggested-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Yu Zhao <yuzhao@google.com>
Cc: Kent Overstreet <kent.overstreet@linux.dev>
Cc: Pasha Tatashin <pasha.tatashin@soleen.com>
Cc: Sourav Panda <souravpanda@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mm.h
include/linux/pgalloc_tag.h
lib/alloc_tag.c