Suren Baghdasaryan
authored
When memory allocation profiling is disabled, there is no need to swap allocation tags during migration. Skip it to avoid unnecessary overhead. Once I added these checks, the overhead of the mode when memory profiling is enabled but turned off went down by about 50%. Link: https://lkml.kernel.org/r/20241226211639.1357704-2-surenb@google.com Fixes: e0a955bf ("mm/codetag: add pgalloc_tag_copy()") Signed-off-by:Suren Baghdasaryan <surenb@google.com> Cc: David Wang <00107082@163.com> Cc: Kent Overstreet <kent.overstreet@linux.dev> Cc: Yu Zhao <yuzhao@google.com> Cc: Zhenhua Huang <quic_zhenhuah@quicinc.com> Cc: <stable@vger.kernel.org> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org>
Name | Last commit | Last update |
---|---|---|
.. | ||
usr/dummy-include | ||
usr/include | ||
usr/.gitignore | ||
usr/Kconfig | ||
usr/Makefile | ||
usr/default_cpio_list | ||
usr/gen_init_cpio.c | ||
usr/gen_initramfs.sh | ||
usr/initramfs_data.S |