diff options
author | 2021-04-29 14:07:12 -0400 | |
---|---|---|
committer | 2021-09-27 09:27:31 -0400 | |
commit | 118f2875490b027218594db9e2effb52cebc7693 (patch) | |
tree | 3cde2eb680572d7e2459291d119f0b0d356c0fe1 /mm/mlock.c | |
parent | mm/memcg: Add folio_memcg() and related functions (diff) | |
download | wireguard-linux-118f2875490b027218594db9e2effb52cebc7693.tar.xz wireguard-linux-118f2875490b027218594db9e2effb52cebc7693.zip |
mm/memcg: Convert commit_charge() to take a folio
The memcg_data is only set on the head page, so enforce that by
typing it as a folio.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Michal Hocko <mhocko@suse.com>
Reviewed-by: David Howells <dhowells@redhat.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'mm/mlock.c')
0 files changed, 0 insertions, 0 deletions