mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* + memcg-infrastructure-to-flush-memcg-stats-v5.patch added to -mm tree
@ 2021-07-16 23:04 akpm
  2021-07-18 22:34 ` Stephen Rothwell
  0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2021-07-16 23:04 UTC (permalink / raw)
  To: guro, hannes, hdanton, m.szyprowski, mhocko, mkoutny, mm-commits,
	sfr, shakeelb, songmuchun, tj, yangyingliang, ying.huang


The patch titled
     Subject: memcg-infrastructure-to-flush-memcg-stats-v5
has been added to the -mm tree.  Its filename is
     memcg-infrastructure-to-flush-memcg-stats-v5.patch

This patch should soon appear at
    https://ozlabs.org/~akpm/mmots/broken-out/memcg-infrastructure-to-flush-memcg-stats-v5.patch
and later at
    https://ozlabs.org/~akpm/mmotm/broken-out/memcg-infrastructure-to-flush-memcg-stats-v5.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Shakeel Butt <shakeelb@google.com>
Subject: memcg-infrastructure-to-flush-memcg-stats-v5

fix sleep-in-wrong context bug

Link: https://lkml.kernel.org/r/20210716212137.1391164-2-shakeelb@google.com
Signed-off-by: Shakeel Butt <shakeelb@google.com>
Reported-by: Yang Yingliang <yangyingliang@huawei.com>
Reported-by: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Hillf Danton <hdanton@sina.com>
Cc: Huang Ying <ying.huang@intel.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Michal Koutný <mkoutny@suse.com>
Cc: Muchun Song <songmuchun@bytedance.com>
Cc: Roman Gushchin <guro@fb.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/memcontrol.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/mm/memcontrol.c~memcg-infrastructure-to-flush-memcg-stats-v5
+++ a/mm/memcontrol.c
@@ -5358,7 +5358,7 @@ void mem_cgroup_flush_stats(void)
 	if (!spin_trylock(&stats_flush_lock))
 		return;
 
-	cgroup_rstat_flush(root_mem_cgroup->css.cgroup);
+	cgroup_rstat_flush_irqsafe(root_mem_cgroup->css.cgroup);
 	spin_unlock(&stats_flush_lock);
 }
 
_

Patches currently in -mm which might be from shakeelb@google.com are

memcg-switch-lruvec-stats-to-rstat.patch
memcg-infrastructure-to-flush-memcg-stats.patch
memcg-infrastructure-to-flush-memcg-stats-v5.patch


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: + memcg-infrastructure-to-flush-memcg-stats-v5.patch added to -mm tree
  2021-07-16 23:04 + memcg-infrastructure-to-flush-memcg-stats-v5.patch added to -mm tree akpm
@ 2021-07-18 22:34 ` Stephen Rothwell
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Rothwell @ 2021-07-18 22:34 UTC (permalink / raw)
  To: akpm
  Cc: guro, hannes, hdanton, m.szyprowski, mhocko, mkoutny, mm-commits,
	shakeelb, songmuchun, tj, yangyingliang, ying.huang

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]

Hi all,

On Fri, 16 Jul 2021 16:04:09 -0700 akpm@linux-foundation.org wrote:
>
> The patch titled
>      Subject: memcg-infrastructure-to-flush-memcg-stats-v5
> has been added to the -mm tree.  Its filename is
>      memcg-infrastructure-to-flush-memcg-stats-v5.patch

Added to linux-next today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-18 22:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-16 23:04 + memcg-infrastructure-to-flush-memcg-stats-v5.patch added to -mm tree akpm
2021-07-18 22:34 ` Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).