commit | 3ecb0087ecee6213544a1e0b838826a0f4831ce5 | [log] [tgz] |
---|---|---|
author | Matthew Wilcox (Oracle) <willy@infradead.org> | Mon Dec 27 21:11:34 2021 -0500 |
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | Mon Mar 21 12:59:01 2022 -0400 |
tree | cb93690894085fa7db78b2cbc4ddc858fa247da3 | |
parent | 8927f6473e56e32e328ae8ed43736412f7f76a4e [diff] |
mm/memcg: Convert mem_cgroup_swapout() to take a folio This removes an assumption that THPs are the only kind of compound pages and removes a couple of hidden calls to compound_head. It also documents that you can't pass a tail page to mem_cgroup_swapout(). Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Christoph Hellwig <hch@lst.de>