Re: [PATCH 3/3] loop: Charge i/o to mem and blk cg

From: Shakeel Butt
Date: Tue Mar 16 2021 - 12:26:13 EST


On Tue, Mar 16, 2021 at 8:37 AM Dan Schatzberg <schatzberg.dan@xxxxxxxxx> wrote:
>
[...]
>
> /* Support for loadable transfer modules */
> diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h
> index 0c04d39a7967..fd5dd961d01f 100644
> --- a/include/linux/memcontrol.h
> +++ b/include/linux/memcontrol.h
> @@ -1187,6 +1187,17 @@ static inline struct mem_cgroup *get_mem_cgroup_from_mm(struct mm_struct *mm)
> return NULL;
> }
>
> +static inline struct mem_cgroup *get_mem_cgroup_from_page(struct page *page)
> +{
> + return NULL;
> +}

The above function has been removed.