From: Michal Hocko <mhocko@suse.cz>
To: Johannes Weiner <hannes@cmpxchg.org>
Cc: akpm@linux-foundation.org, mm-commits@vger.kernel.org,
linux-mm@kvack.org
Subject: Re: + mm-memcg-lockdep-annotation-for-memcg-oom-lock.patch added to -mm tree
Date: Thu, 31 Oct 2013 17:39:56 +0100 [thread overview]
Message-ID: <20131031163956.GB32240@dhcp22.suse.cz> (raw)
In-Reply-To: <20131031162815.GG14054@cmpxchg.org>
On Thu 31-10-13 12:28:15, Johannes Weiner wrote:
> On Thu, Oct 31, 2013 at 04:36:24PM +0100, Michal Hocko wrote:
> > On Thu 31-10-13 10:37:58, Johannes Weiner wrote:
> > > On Thu, Oct 31, 2013 at 09:50:17AM +0100, Michal Hocko wrote:
> > > > On Wed 30-10-13 15:12:48, Andrew Morton wrote:
> > [...]
> > > > > From: Johannes Weiner <hannes@cmpxchg.org>
> > > > > Subject: mm: memcg: lockdep annotation for memcg OOM lock
> > > > >
> > > > > The memcg OOM lock is a mutex-type lock that is open-coded due to memcg's
> > > > > special needs. Add annotations for lockdep coverage.
> > > >
> > > > I am not sure what this gives us to be honest. AA and AB-BA deadlocks
> > > > are impossible due to nature of the lock (it is trylock so we never
> > > > block on it).
> > >
> > > It's not an actual trylock, because we loop around it. If it fails,
> > > we wait for the unlock, restart the fault, and try again. That's a
> > > LOCK operation.
> >
> > OK, I have to revisit the shole series. Do you plan to post it anytime
> > soon? Or where can I find the latest version?
>
> It's all upstream (except for these fixups). So mmotm would be the
> best reference I guess.
OK, it will still take me a bit to get in sync...
--
Michal Hocko
SUSE Labs
--
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>
prev parent reply other threads:[~2013-10-31 16:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <52718460.4+rPcYBdFtC2v3uh%akpm@linux-foundation.org>
2013-10-31 8:50 ` Michal Hocko
2013-10-31 14:37 ` Johannes Weiner
2013-10-31 15:36 ` Michal Hocko
2013-10-31 16:28 ` Johannes Weiner
2013-10-31 16:39 ` Michal Hocko [this message]
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=20131031163956.GB32240@dhcp22.suse.cz \
--to=mhocko@suse.cz \
--cc=akpm@linux-foundation.org \
--cc=hannes@cmpxchg.org \
--cc=linux-mm@kvack.org \
--cc=mm-commits@vger.kernel.org \
/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