diff options
author | 2022-05-12 20:23:04 -0700 | |
---|---|---|
committer | 2022-05-13 07:20:16 -0700 | |
commit | 039bc1240165c99b932fb4be2f784948d1038eea (patch) | |
tree | 08b225cc38cfbcb40c443897ba7ca25f263ccfb6 /mm | |
parent | mm/shmem: use a folio in shmem_unused_huge_shrink (diff) | |
download | linux-dev-039bc1240165c99b932fb4be2f784948d1038eea.tar.xz linux-dev-039bc1240165c99b932fb4be2f784948d1038eea.zip |
mm/swap: add folio_throttle_swaprate
The only use of the page argument to cgroup_throttle_swaprate() is to get
the node ID, and this will be the same for all pages in the folio, so just
pass in the first page of the folio.
Link: https://lkml.kernel.org/r/20220504182857.4013401-18-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions