Re: + mm-memcg-lockdep-annotation-for-memcg-oom-lock.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>
> > > > 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.

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]