linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Shakeel Butt <shakeelb@google.com>
To: Zefan Li <lizefan@huawei.com>
Cc: Michal Hocko <mhocko@kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	 Johannes Weiner <hannes@cmpxchg.org>,
	Vladimir Davydov <vdavydov.dev@gmail.com>,
	 Cgroups <cgroups@vger.kernel.org>, Linux MM <linux-mm@kvack.org>,
	 Roman Gushchin <guro@fb.com>
Subject: Re: [PATCH v3] memcg: Fix memcg_kmem_bypass() for remote memcg charging
Date: Wed, 27 May 2020 09:50:07 -0700	[thread overview]
Message-ID: <CALvZod6hqkhECNX1gW9=bOwDhHQCV02p6zuu-qNFuiVEF1jjBg@mail.gmail.com> (raw)
In-Reply-To: <1d202a12-26fe-0012-ea14-f025ddcd044a@huawei.com>

On Mon, May 25, 2020 at 6:25 PM Zefan Li <lizefan@huawei.com> wrote:
>
> While trying to use remote memcg charging in an out-of-tree kernel module
> I found it's not working, because the current thread is a workqueue thread.
>
> As we will probably encounter this issue in the future as the users of
> memalloc_use_memcg() grow, and it's nothing wrong for this usage, it's
> better we fix it now.
>
> Acked-by: Johannes Weiner <hannes@cmpxchg.org>
> Signed-off-by: Zefan Li <lizefan@huawei.com>

Reviewed-by: Shakeel Butt <shakeelb@google.com>


  parent reply	other threads:[~2020-05-27 16:50 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-13  7:28 [PATCH] " Zefan Li
2020-05-13  9:05 ` Michal Hocko
2020-05-13 11:19   ` Zefan Li
2020-05-13 11:29     ` Michal Hocko
2020-05-13 11:47       ` [PATCH v2] " Zefan Li
2020-05-13 12:22         ` Shakeel Butt
2020-05-13 13:05         ` Johannes Weiner
2020-05-13 16:11         ` Roman Gushchin
2020-05-14  1:16           ` Zefan Li
2020-05-14 22:52             ` Roman Gushchin
2020-05-15  6:56               ` Michal Hocko
2020-05-15  8:20                 ` Zefan Li
2020-05-15  8:34                   ` Michal Hocko
2020-05-15 16:22                     ` Shakeel Butt
2020-05-15 17:31                       ` Roman Gushchin
2020-05-18  9:13                       ` Michal Hocko
2020-05-26  1:25       ` [PATCH v3] " Zefan Li
2020-05-26 15:53         ` Roman Gushchin
2020-05-27 16:50         ` Shakeel Butt [this message]
2020-05-28 14:44         ` Michal Hocko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALvZod6hqkhECNX1gW9=bOwDhHQCV02p6zuu-qNFuiVEF1jjBg@mail.gmail.com' \
    --to=shakeelb@google.com \
    --cc=akpm@linux-foundation.org \
    --cc=cgroups@vger.kernel.org \
    --cc=guro@fb.com \
    --cc=hannes@cmpxchg.org \
    --cc=linux-mm@kvack.org \
    --cc=lizefan@huawei.com \
    --cc=mhocko@kernel.org \
    --cc=vdavydov.dev@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox