summaryrefslogtreecommitdiffstats
path: root/mm/migrate.c
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2023-03-02 12:58:35 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-03-29 01:20:10 +0200
commit3e4fb13ac34bad94cf390415b1e6bc3ca9520d65 (patch)
tree98d7b9101589c0e09fd035677ded4383527e4449 /mm/migrate.c
parentmm: memory: use folio_throttle_swaprate() in do_cow_fault() (diff)
downloadlinux-3e4fb13ac34bad94cf390415b1e6bc3ca9520d65.tar.xz
linux-3e4fb13ac34bad94cf390415b1e6bc3ca9520d65.zip
mm: swap: remove unneeded cgroup_throttle_swaprate()
All the callers of cgroup_throttle_swaprate() are converted to folio_throttle_swaprate(), so make __cgroup_throttle_swaprate() to take a folio, and rename it to __folio_throttle_swaprate(), also rename gfp_mask to gfp and drop redundant extern keyword. finally, drop unused cgroup_throttle_swaprate(). Link: https://lkml.kernel.org/r/20230302115835.105364-8-wangkefeng.wang@huawei.com Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/migrate.c')
0 files changed, 0 insertions, 0 deletions