]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
Fix up mail headers on few 4.14 patches
authorSasha Levin <sashal@kernel.org>
Sun, 4 Apr 2021 14:10:55 +0000 (10:10 -0400)
committerSasha Levin <sashal@kernel.org>
Sun, 4 Apr 2021 14:10:55 +0000 (10:10 -0400)
Signed-off-by: Sasha Levin <sashal@kernel.org>
queue-4.14/mem_cgroup-make-sure-moving_account-move_lock_task-and-stat_cpu-in-the-same-cacheline.patch
queue-4.14/mm-fix-oom_kill-event-handling.patch
queue-4.14/mm-memcg-make-sure-memory.events-is-uptodate-when-waking-pollers.patch
queue-4.14/mm-memcontrol-fix-nr_writeback-leak-in-memcg-and-system-stats.patch
queue-4.14/mm-writeback-use-exact-memcg-dirty-counts.patch

index 39419c9128dd639f72b8c622a6f1b42f49a6c3b7..54d445b3c615a0fb49d05d5ec9551dcdbe022d1e 100644 (file)
@@ -1,12 +1,8 @@
-From foo@baz Sat Apr  3 10:50:40 AM CEST 2021
-From: Frank van der Linden <fllinden@amazon.com>
+From ff9e6d0148913f65e252eacb30cee895cc9f18e0 Mon Sep 17 00:00:00 2001
+From: Sasha Levin <sashal@kernel.org>
 Date: Tue, 30 Mar 2021 18:19:08 +0000
-Subject: mem_cgroup: make sure moving_account, move_lock_task and stat_cpu in the same cacheline
-To: <stable@vger.kernel.org>
-Cc: <fllinden@amazon.com>
-Message-ID: <20210330181910.15378-4-fllinden@amazon.com>
-
-From: Frank van der Linden <fllinden@amazon.com>
+Subject: mem_cgroup: make sure moving_account, move_lock_task and stat_cpu in
+ the same cacheline
 
 From: Aaron Lu <aaron.lu@intel.com>
 
@@ -78,10 +74,13 @@ Cc: Tejun Heo <tj@kernel.org>
 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- include/linux/memcontrol.h |   23 +++++++++++++++++++----
+ include/linux/memcontrol.h | 23 +++++++++++++++++++----
  1 file changed, 19 insertions(+), 4 deletions(-)
 
+diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h
+index 6503a9ca27c1..c7876eadd206 100644
 --- a/include/linux/memcontrol.h
 +++ b/include/linux/memcontrol.h
 @@ -155,6 +155,15 @@ enum memcg_kmem_state {
@@ -138,3 +137,6 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  
        unsigned long           socket_pressure;
  
+-- 
+2.30.2
+
index bca6c2f710cc215cd4c405ee2997bcbb988a6342..b79e44e71abb37e069543793e71c407f33ff92ae 100644 (file)
@@ -1,12 +1,7 @@
-From foo@baz Sat Apr  3 10:50:40 AM CEST 2021
-From: Frank van der Linden <fllinden@amazon.com>
+From e1fd32798f5f59f098b06c2eb5cfeaa69714a6b4 Mon Sep 17 00:00:00 2001
+From: Sasha Levin <sashal@kernel.org>
 Date: Tue, 30 Mar 2021 18:19:09 +0000
 Subject: mm: fix oom_kill event handling
-To: <stable@vger.kernel.org>
-Cc: <fllinden@amazon.com>
-Message-ID: <20210330181910.15378-5-fllinden@amazon.com>
-
-From: Frank van der Linden <fllinden@amazon.com>
 
 From: Roman Gushchin <guro@fb.com>
 
@@ -36,12 +31,15 @@ Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
 [fllinden@amazon.com: backport to 4.14, minor contextual changes]
 Signed-off-by: Frank van der Linden <fllinden@amazon.com>
 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- include/linux/memcontrol.h |   26 ++++++++++++++++++++++----
- mm/memcontrol.c            |    6 ++++--
- mm/oom_kill.c              |    2 +-
+ include/linux/memcontrol.h | 26 ++++++++++++++++++++++----
+ mm/memcontrol.c            |  6 ++++--
+ mm/oom_kill.c              |  2 +-
  3 files changed, 27 insertions(+), 7 deletions(-)
 
+diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h
+index c7876eadd206..b5cd86e320ff 100644
 --- a/include/linux/memcontrol.h
 +++ b/include/linux/memcontrol.h
 @@ -53,6 +53,7 @@ enum memcg_memory_event {
@@ -52,7 +50,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        MEMCG_NR_MEMORY_EVENTS,
  };
  
-@@ -706,11 +707,8 @@ static inline void count_memcg_event_mm(
+@@ -706,11 +707,8 @@ static inline void count_memcg_event_mm(struct mm_struct *mm,
  
        rcu_read_lock();
        memcg = mem_cgroup_from_task(rcu_dereference(mm->owner));
@@ -65,7 +63,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        rcu_read_unlock();
  }
  
-@@ -721,6 +719,21 @@ static inline void memcg_memory_event(st
+@@ -721,6 +719,21 @@ static inline void memcg_memory_event(struct mem_cgroup *memcg,
        cgroup_file_notify(&memcg->events_file);
  }
  
@@ -87,7 +85,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  #ifdef CONFIG_TRANSPARENT_HUGEPAGE
  void mem_cgroup_split_huge_fixup(struct page *head);
  #endif
-@@ -742,6 +755,11 @@ static inline void memcg_memory_event(st
+@@ -742,6 +755,11 @@ static inline void memcg_memory_event(struct mem_cgroup *memcg,
  {
  }
  
@@ -99,9 +97,11 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  static inline bool mem_cgroup_low(struct mem_cgroup *root,
                                  struct mem_cgroup *memcg)
  {
+diff --git a/mm/memcontrol.c b/mm/memcontrol.c
+index 31972189a827..ef6d996a920a 100644
 --- a/mm/memcontrol.c
 +++ b/mm/memcontrol.c
-@@ -3648,7 +3648,8 @@ static int mem_cgroup_oom_control_read(s
+@@ -3648,7 +3648,8 @@ static int mem_cgroup_oom_control_read(struct seq_file *sf, void *v)
  
        seq_printf(sf, "oom_kill_disable %d\n", memcg->oom_kill_disable);
        seq_printf(sf, "under_oom %d\n", (bool)memcg->under_oom);
@@ -111,7 +111,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        return 0;
  }
  
-@@ -5320,7 +5321,8 @@ static int memory_events_show(struct seq
+@@ -5320,7 +5321,8 @@ static int memory_events_show(struct seq_file *m, void *v)
                   atomic_long_read(&memcg->memory_events[MEMCG_MAX]));
        seq_printf(m, "oom %lu\n",
                   atomic_long_read(&memcg->memory_events[MEMCG_OOM]));
@@ -121,9 +121,11 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  
        return 0;
  }
+diff --git a/mm/oom_kill.c b/mm/oom_kill.c
+index 6482d743c5c8..6f1bed211122 100644
 --- a/mm/oom_kill.c
 +++ b/mm/oom_kill.c
-@@ -917,7 +917,7 @@ static void oom_kill_process(struct oom_
+@@ -917,7 +917,7 @@ static void oom_kill_process(struct oom_control *oc, const char *message)
  
        /* Raise event before sending signal: task reaper must see this */
        count_vm_event(OOM_KILL);
@@ -132,3 +134,6 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  
        /*
         * We should send SIGKILL before granting access to memory reserves
+-- 
+2.30.2
+
index c6490faf194e13d24cc7671d8bea93a2fb152848..5f24d07d60981b2765213e8a5d141f392e6d8402 100644 (file)
@@ -1,12 +1,7 @@
-From foo@baz Sat Apr  3 10:50:40 AM CEST 2021
-From: Frank van der Linden <fllinden@amazon.com>
+From 9fe735731d156fe2fc88d9bae1d8479b4021929c Mon Sep 17 00:00:00 2001
+From: Sasha Levin <sashal@kernel.org>
 Date: Tue, 30 Mar 2021 18:19:07 +0000
 Subject: mm: memcg: make sure memory.events is uptodate when waking pollers
-To: <stable@vger.kernel.org>
-Cc: <fllinden@amazon.com>
-Message-ID: <20210330181910.15378-3-fllinden@amazon.com>
-
-From: Frank van der Linden <fllinden@amazon.com>
 
 From: Johannes Weiner <hannes@cmpxchg.org>
 
@@ -45,12 +40,15 @@ Cc: Stephen Rothwell <sfr@canb.auug.org.au>
 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- include/linux/memcontrol.h |   35 ++++++++++++++++++-----------------
- mm/memcontrol.c            |   28 ++++++++++++++++------------
- mm/vmscan.c                |    2 +-
+ include/linux/memcontrol.h | 35 ++++++++++++++++++-----------------
+ mm/memcontrol.c            | 28 ++++++++++++++++------------
+ mm/vmscan.c                |  2 +-
  3 files changed, 35 insertions(+), 30 deletions(-)
 
+diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h
+index c46016bb25eb..6503a9ca27c1 100644
 --- a/include/linux/memcontrol.h
 +++ b/include/linux/memcontrol.h
 @@ -48,13 +48,12 @@ enum memcg_stat_item {
@@ -101,7 +99,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  
        unsigned long           socket_pressure;
  
-@@ -645,9 +646,9 @@ unsigned long mem_cgroup_soft_limit_recl
+@@ -645,9 +646,9 @@ unsigned long mem_cgroup_soft_limit_reclaim(pg_data_t *pgdat, int order,
                                                gfp_t gfp_mask,
                                                unsigned long *total_scanned);
  
@@ -113,7 +111,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  {
        unsigned long x;
  
-@@ -663,7 +664,8 @@ static inline void __count_memcg_events(
+@@ -663,7 +664,8 @@ static inline void __count_memcg_events(struct mem_cgroup *memcg,
  }
  
  static inline void count_memcg_events(struct mem_cgroup *memcg,
@@ -123,7 +121,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  {
        unsigned long flags;
  
-@@ -672,9 +674,8 @@ static inline void count_memcg_events(st
+@@ -672,9 +674,8 @@ static inline void count_memcg_events(struct mem_cgroup *memcg,
        local_irq_restore(flags);
  }
  
@@ -134,7 +132,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  {
        if (page->mem_cgroup)
                count_memcg_events(page->mem_cgroup, idx, 1);
-@@ -698,10 +699,10 @@ static inline void count_memcg_event_mm(
+@@ -698,10 +699,10 @@ static inline void count_memcg_event_mm(struct mm_struct *mm,
        rcu_read_unlock();
  }
  
@@ -148,7 +146,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        cgroup_file_notify(&memcg->events_file);
  }
  
-@@ -721,8 +722,8 @@ static inline bool mem_cgroup_disabled(v
+@@ -721,8 +722,8 @@ static inline bool mem_cgroup_disabled(void)
        return true;
  }
  
@@ -159,9 +157,11 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  {
  }
  
+diff --git a/mm/memcontrol.c b/mm/memcontrol.c
+index 4e763cdccb33..31972189a827 100644
 --- a/mm/memcontrol.c
 +++ b/mm/memcontrol.c
-@@ -1872,7 +1872,7 @@ static int memcg_hotplug_cpu_dead(unsign
+@@ -1872,7 +1872,7 @@ static int memcg_hotplug_cpu_dead(unsigned int cpu)
                        }
                }
  
@@ -170,7 +170,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
                        long x;
  
                        x = this_cpu_xchg(memcg->stat_cpu->events[i], 0);
-@@ -1891,7 +1891,7 @@ static void reclaim_high(struct mem_cgro
+@@ -1891,7 +1891,7 @@ static void reclaim_high(struct mem_cgroup *memcg,
        do {
                if (page_counter_read(&memcg->memory) <= memcg->high)
                        continue;
@@ -179,7 +179,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
                try_to_free_mem_cgroup_pages(memcg, nr_pages, gfp_mask, true);
        } while ((memcg = parent_mem_cgroup(memcg)));
  }
-@@ -1982,7 +1982,7 @@ retry:
+@@ -1982,7 +1982,7 @@ static int try_charge(struct mem_cgroup *memcg, gfp_t gfp_mask,
        if (!gfpflags_allow_blocking(gfp_mask))
                goto nomem;
  
@@ -188,7 +188,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  
        nr_reclaimed = try_to_free_mem_cgroup_pages(mem_over_limit, nr_pages,
                                                    gfp_mask, may_swap);
-@@ -2025,7 +2025,7 @@ retry:
+@@ -2025,7 +2025,7 @@ static int try_charge(struct mem_cgroup *memcg, gfp_t gfp_mask,
        if (fatal_signal_pending(current))
                goto force;
  
@@ -197,7 +197,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  
        mem_cgroup_oom(mem_over_limit, gfp_mask,
                       get_order(nr_pages * PAGE_SIZE));
-@@ -2790,10 +2790,10 @@ static void tree_events(struct mem_cgrou
+@@ -2790,10 +2790,10 @@ static void tree_events(struct mem_cgroup *memcg, unsigned long *events)
        struct mem_cgroup *iter;
        int i;
  
@@ -210,7 +210,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
                        events[i] += memcg_sum_events(iter, i);
        }
  }
-@@ -5299,7 +5299,7 @@ static ssize_t memory_max_write(struct k
+@@ -5299,7 +5299,7 @@ static ssize_t memory_max_write(struct kernfs_open_file *of,
                        continue;
                }
  
@@ -219,7 +219,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
                if (!mem_cgroup_out_of_memory(memcg, GFP_KERNEL, 0))
                        break;
        }
-@@ -5312,10 +5312,14 @@ static int memory_events_show(struct seq
+@@ -5312,10 +5312,14 @@ static int memory_events_show(struct seq_file *m, void *v)
  {
        struct mem_cgroup *memcg = mem_cgroup_from_css(seq_css(m));
  
@@ -238,7 +238,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        seq_printf(m, "oom_kill %lu\n", memcg_sum_events(memcg, OOM_KILL));
  
        return 0;
-@@ -5325,7 +5329,7 @@ static int memory_stat_show(struct seq_f
+@@ -5325,7 +5329,7 @@ static int memory_stat_show(struct seq_file *m, void *v)
  {
        struct mem_cgroup *memcg = mem_cgroup_from_css(seq_css(m));
        unsigned long stat[MEMCG_NR_STAT];
@@ -247,9 +247,11 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        int i;
  
        /*
+diff --git a/mm/vmscan.c b/mm/vmscan.c
+index 5ee6fbdec8a8..b37e6dd50925 100644
 --- a/mm/vmscan.c
 +++ b/mm/vmscan.c
-@@ -2628,7 +2628,7 @@ static bool shrink_node(pg_data_t *pgdat
+@@ -2628,7 +2628,7 @@ static bool shrink_node(pg_data_t *pgdat, struct scan_control *sc)
                                        sc->memcg_low_skipped = 1;
                                        continue;
                                }
@@ -258,3 +260,6 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
                        }
  
                        reclaimed = sc->nr_reclaimed;
+-- 
+2.30.2
+
index 561d4126f2213d59eb46c2d4737d212bbb5bf728..41a3b7c32fb2d710a8f0dd056658d9403d9f8ea7 100644 (file)
@@ -1,12 +1,7 @@
-From foo@baz Sat Apr  3 10:50:40 AM CEST 2021
-From: Frank van der Linden <fllinden@amazon.com>
+From cf8150077bcd64063c1e2eb9b36b1404fe732208 Mon Sep 17 00:00:00 2001
+From: Sasha Levin <sashal@kernel.org>
 Date: Tue, 30 Mar 2021 18:19:06 +0000
 Subject: mm: memcontrol: fix NR_WRITEBACK leak in memcg and system stats
-To: <stable@vger.kernel.org>
-Cc: <fllinden@amazon.com>
-Message-ID: <20210330181910.15378-2-fllinden@amazon.com>
-
-From: Frank van der Linden <fllinden@amazon.com>
 
 From: Johannes Weiner <hannes@cmpxchg.org>
 
@@ -43,13 +38,16 @@ Cc: Michal Hocko <mhocko@suse.com>
 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- include/linux/memcontrol.h |   24 ++++++++++++++++--------
+ include/linux/memcontrol.h | 24 ++++++++++++++++--------
  1 file changed, 16 insertions(+), 8 deletions(-)
 
+diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h
+index 882046863581..c46016bb25eb 100644
 --- a/include/linux/memcontrol.h
 +++ b/include/linux/memcontrol.h
-@@ -523,9 +523,11 @@ static inline void __mod_memcg_state(str
+@@ -523,9 +523,11 @@ static inline void __mod_memcg_state(struct mem_cgroup *memcg,
  static inline void mod_memcg_state(struct mem_cgroup *memcg,
                                   int idx, int val)
  {
@@ -63,7 +61,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  }
  
  /**
-@@ -606,9 +608,11 @@ static inline void __mod_lruvec_state(st
+@@ -606,9 +608,11 @@ static inline void __mod_lruvec_state(struct lruvec *lruvec,
  static inline void mod_lruvec_state(struct lruvec *lruvec,
                                    enum node_stat_item idx, int val)
  {
@@ -77,7 +75,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  }
  
  static inline void __mod_lruvec_page_state(struct page *page,
-@@ -630,9 +634,11 @@ static inline void __mod_lruvec_page_sta
+@@ -630,9 +634,11 @@ static inline void __mod_lruvec_page_state(struct page *page,
  static inline void mod_lruvec_page_state(struct page *page,
                                         enum node_stat_item idx, int val)
  {
@@ -91,7 +89,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  }
  
  unsigned long mem_cgroup_soft_limit_reclaim(pg_data_t *pgdat, int order,
-@@ -659,9 +665,11 @@ static inline void __count_memcg_events(
+@@ -659,9 +665,11 @@ static inline void __count_memcg_events(struct mem_cgroup *memcg,
  static inline void count_memcg_events(struct mem_cgroup *memcg,
                                      int idx, unsigned long count)
  {
@@ -105,3 +103,6 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  }
  
  /* idx can be of type enum memcg_event_item or vm_event_item */
+-- 
+2.30.2
+
index 97643c067f462cbdff1e4a26fbea00d1bee0c604..1be97349bdf92b48346402c5d1e15119ecf7c270 100644 (file)
@@ -1,12 +1,7 @@
-From foo@baz Sat Apr  3 10:50:40 AM CEST 2021
-From: Frank van der Linden <fllinden@amazon.com>
+From 5f20039dc5262295bf7113b9822418bbee9b1dc2 Mon Sep 17 00:00:00 2001
+From: Sasha Levin <sashal@kernel.org>
 Date: Tue, 30 Mar 2021 18:19:10 +0000
 Subject: mm: writeback: use exact memcg dirty counts
-To: <stable@vger.kernel.org>
-Cc: <fllinden@amazon.com>
-Message-ID: <20210330181910.15378-6-fllinden@amazon.com>
-
-From: Frank van der Linden <fllinden@amazon.com>
 
 From: Greg Thelen <gthelen@google.com>
 
@@ -168,14 +163,17 @@ Cc: <stable@vger.kernel.org>      [4.16+]
 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- include/linux/memcontrol.h |    5 ++++-
- mm/memcontrol.c            |   20 ++++++++++++++++++--
+ include/linux/memcontrol.h |  5 ++++-
+ mm/memcontrol.c            | 20 ++++++++++++++++++--
  2 files changed, 22 insertions(+), 3 deletions(-)
 
+diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h
+index b5cd86e320ff..365d5079d1cb 100644
 --- a/include/linux/memcontrol.h
 +++ b/include/linux/memcontrol.h
-@@ -507,7 +507,10 @@ struct mem_cgroup *lock_page_memcg(struc
+@@ -507,7 +507,10 @@ struct mem_cgroup *lock_page_memcg(struct page *page);
  void __unlock_page_memcg(struct mem_cgroup *memcg);
  void unlock_page_memcg(struct page *page);
  
@@ -187,9 +185,11 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  static inline unsigned long memcg_page_state(struct mem_cgroup *memcg,
                                             int idx)
  {
+diff --git a/mm/memcontrol.c b/mm/memcontrol.c
+index ef6d996a920a..5e8b8e1b7d90 100644
 --- a/mm/memcontrol.c
 +++ b/mm/memcontrol.c
-@@ -3701,6 +3701,22 @@ struct wb_domain *mem_cgroup_wb_domain(s
+@@ -3701,6 +3701,22 @@ struct wb_domain *mem_cgroup_wb_domain(struct bdi_writeback *wb)
        return &memcg->cgwb_domain;
  }
  
@@ -212,7 +212,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  /**
   * mem_cgroup_wb_stats - retrieve writeback related stats from its memcg
   * @wb: bdi_writeback in question
-@@ -3726,10 +3742,10 @@ void mem_cgroup_wb_stats(struct bdi_writ
+@@ -3726,10 +3742,10 @@ void mem_cgroup_wb_stats(struct bdi_writeback *wb, unsigned long *pfilepages,
        struct mem_cgroup *memcg = mem_cgroup_from_css(wb->memcg_css);
        struct mem_cgroup *parent;
  
@@ -225,3 +225,6 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        *pfilepages = mem_cgroup_nr_lru_pages(memcg, (1 << LRU_INACTIVE_FILE) |
                                                     (1 << LRU_ACTIVE_FILE));
        *pheadroom = PAGE_COUNTER_MAX;
+-- 
+2.30.2
+