All of lore.kernel.org
 help / color / mirror / Atom feed
From: Glauber Costa <glommer@parallels.com>
To: Michal Hocko <mhocko@suse.cz>
Cc: lsf-pc@lists.linux-foundation.org, linux-mm@kvack.org
Subject: Re: [LSF/MM TOPIC] Few things I would like to discuss
Date: Tue, 5 Feb 2013 18:13:11 +0400	[thread overview]
Message-ID: <51111377.4030502@parallels.com> (raw)
In-Reply-To: <20130205123515.GA26229@dhcp22.suse.cz>

On 02/05/2013 04:35 PM, Michal Hocko wrote:
> Hi,
> I would like to discuss the following topics:
> * memcg oom should be more sensitive to locked contexts because now
>   it is possible that a task is sitting in mem_cgroup_handle_oom holding
>   some other lock (e.g. i_mutex or mmap_sem) up the chain which might
>   block other task to terminate on OOM so we basically end up in a
>   deadlock. Almost all memcg charges happen from the page fault path
>   where we can retry but one class of them happen from
>   add_to_page_cache_locked and that is a bit more problematic.

This is not the case with kmemcg on. Those charges will usually happen
from the slab/slub grow_cache mechanism, or during fork. This is not to
invalidate your reasoning - since those are usually tricky in terms of
context as well, and would benefit just as much - but to complete it.

> * I would really like to finally settle down on something wrt. soft
>   limit reclaim. I am pretty sure Ying would like to discuss this topic
>   as well so I will not go into details about it. I will post what I
>   have before the conference so that we can discuss her approach and
>   what was the primary disagreement the last time. I can go into more
>   ditails as a follow up if people are interested of course.

This interests me very much as well.



--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2013-02-05 14:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-05 12:35 [LSF/MM TOPIC] Few things I would like to discuss Michal Hocko
2013-02-05 14:13 ` Glauber Costa [this message]
2013-02-13  0:39 ` Kamezawa Hiroyuki
2013-02-13  3:53   ` [Lsf-pc] " James Bottomley
2013-02-13  8:20   ` Glauber Costa

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=51111377.4030502@parallels.com \
    --to=glommer@parallels.com \
    --cc=linux-mm@kvack.org \
    --cc=lsf-pc@lists.linux-foundation.org \
    --cc=mhocko@suse.cz \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.