]> www.infradead.org Git - users/jedix/linux-maple.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>
Fri, 1 Nov 2024 04:29:26 +0000 (21:29 -0700)
commit6d015f08adc097adb543811261b400bf1f855cc4
tree26f123a96b1424e76c9bd5cbec473c8712f34919
parent8418486524a2db525bb0d90213ae6d9a4d397cc2
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