diff options
author | 2023-07-15 05:23:41 +0100 | |
---|---|---|
committer | 2023-08-21 13:37:26 -0700 | |
commit | 074e3e262adb02a7a42e32e0aadfb6b6cf416854 (patch) | |
tree | 17786216be9313c13a27287df2564d4ba72fdc6f /include/linux/page_ext.h | |
parent | zswap: make zswap_store() take a folio (diff) | |
download | wireguard-linux-074e3e262adb02a7a42e32e0aadfb6b6cf416854.tar.xz wireguard-linux-074e3e262adb02a7a42e32e0aadfb6b6cf416854.zip |
memcg: convert get_obj_cgroup_from_page to get_obj_cgroup_from_folio
As the one caller now has a folio, pass it in and use it. Removes three
calls to compound_head().
Link: https://lkml.kernel.org/r/20230715042343.434588-4-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Domenico Cerasuolo <cerasuolodomenico@gmail.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Nhat Pham <nphamcs@gmail.com>
Cc: Vitaly Wool <vitaly.wool@konsulko.com>
Cc: Yosry Ahmed <yosryahmed@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/page_ext.h')
0 files changed, 0 insertions, 0 deletions