From: Johannes Weiner <hannes@cmpxchg.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Michal Hocko <mhocko@suse.cz>,
Vladimir Davydov <vdavydov@parallels.com>,
linux-mm@kvack.org, cgroups@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [patch 0/2] mm: memcontrol: fix race between migration and writeback
Date: Wed, 22 Oct 2014 14:29:26 -0400 [thread overview]
Message-ID: <1414002568-21042-1-git-send-email-hannes@cmpxchg.org> (raw)
This is fall-out from the memcg lifetime rework in 3.17, where
writeback statistics can get lost against a migrating page.
The (-stable) fix is adapting the page stat side to the new lifetime
rules, rather than making an exception specifically for them, which
seems less error prone and generally the right way forward.
include/linux/memcontrol.h | 58 ++++++++++++++--------------------------------
include/linux/mm.h | 1 -
mm/memcontrol.c | 54 ++++++++++++++++++------------------------
mm/page-writeback.c | 43 ++++++++++++----------------------
mm/rmap.c | 20 ++++++++--------
5 files changed, 64 insertions(+), 112 deletions(-)
--
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>
next reply other threads:[~2014-10-22 18:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-22 18:29 Johannes Weiner [this message]
2014-10-22 18:29 ` [patch 1/2] mm: page-writeback: inline account_page_dirtied() into single caller Johannes Weiner
2014-10-23 12:21 ` Michal Hocko
2014-10-22 18:29 ` [patch 2/2] mm: memcontrol: fix missed end-writeback page accounting Johannes Weiner
2014-10-22 20:39 ` Andrew Morton
2014-10-23 13:54 ` Johannes Weiner
2014-10-23 15:00 ` Michal Hocko
2014-10-23 13:57 ` Johannes Weiner
2014-10-23 15:03 ` Michal Hocko
2014-10-23 13:03 ` Michal Hocko
2014-10-23 14:14 ` Johannes Weiner
2014-10-23 14:51 ` 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=1414002568-21042-1-git-send-email-hannes@cmpxchg.org \
--to=hannes@cmpxchg.org \
--cc=akpm@linux-foundation.org \
--cc=cgroups@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mhocko@suse.cz \
--cc=vdavydov@parallels.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