summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2023-10-18 17:08:05 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-10-26 02:47:13 +0300
commitc2c3b5148052cef670d359b81d338d20b96bf47f (patch)
tree715ec612f4cbe64219eac01ab49a0832e55addfb /usr
parenta86bc96b77df40c27ead5ef4ac3837904b7eb53f (diff)
downloadlinux-c2c3b5148052cef670d359b81d338d20b96bf47f.tar.xz
mm: use folio_xchg_last_cpupid() in wp_page_reuse()
Convert to use folio_xchg_last_cpupid() in wp_page_reuse(), and remove page variable. Since now only normal and PMD-mapped page is handled by numa balancing, it's enough to only update the entire folio's last cpupid. Link: https://lkml.kernel.org/r/20231018140806.2783514-19-wangkefeng.wang@huawei.com Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Cc: David Hildenbrand <david@redhat.com> Cc: Huang Ying <ying.huang@intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Juri Lelli <juri.lelli@redhat.com> Cc: Matthew Wilcox (Oracle) <willy@infradead.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Vincent Guittot <vincent.guittot@linaro.org> Cc: Zi Yan <ziy@nvidia.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions