summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorHongfu Li <lihongfu@kylinos.cn>2026-09-03 17:21:26 +0800
committerAndrew Morton <akpm@linux-foundation.org>2026-10-08 22:54:34 -0700
commite1e86503027a00a843a77a0477899e5423c43a59 (patch)
tree503aed1b91e401b476b6b4ff48d717d1f8ac3fc7 /include/linux
parent600c820b8ee5016b8d2985c6181d002125062dc1 (diff)
downloadlinux-e1e86503027a00a843a77a0477899e5423c43a59.tar.gz
linux-e1e86503027a00a843a77a0477899e5423c43a59.zip
mm/page_owner: preserve original free_pid/free_tgid during folio migration
__update_page_owner_free_handle() accepts pid and tgid, but ignores them, always storing current->pid and current->tgid. __folio_copy_owner() forwards the original free pid/tgid during folio migration, yet these values were overwritten by the migrating task. Store the passed-in pid/tgid so the migrated folio keeps the original free attribution. Link: https://lore.kernel.org/20260903092126.24685-1-hongfu.li@linux.dev Signed-off-by: Hongfu Li <lihongfu@kylinos.cn> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Vlastimil Babka (SUSE) <vbabka@kernel.org> Cc: Brendan Jackman <brendan.jackman@linux.dev> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Michal Hocko <mhocko@suse.com> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Zi Yan <ziy@nvidia.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions