[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1454512459-94334-1-git-send-email-kirill.shutemov@linux.intel.com>
Date: Wed, 3 Feb 2016 18:14:15 +0300
From: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
Andrea Arcangeli <aarcange@...hat.com>
Cc: Hugh Dickins <hughd@...gle.com>,
Dave Hansen <dave.hansen@...el.com>,
Mel Gorman <mgorman@...e.de>, Rik van Riel <riel@...hat.com>,
Vlastimil Babka <vbabka@...e.cz>,
Christoph Lameter <cl@...two.org>,
Naoya Horiguchi <n-horiguchi@...jp.nec.com>,
Steve Capper <steve.capper@...aro.org>,
"Aneesh Kumar K.V" <aneesh.kumar@...ux.vnet.ibm.com>,
Johannes Weiner <hannes@...xchg.org>,
Michal Hocko <mhocko@...e.cz>,
Jerome Marchand <jmarchan@...hat.com>,
Sasha Levin <sasha.levin@...cle.com>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
"Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
Subject: [PATCH 0/4] thp: simplify freeze_page() and unfreeze_page()
This patchset rewrites freeze_page() and unfreeze_page() using try_to_unmap()
and remove_migration_ptes(). Result is much simplier, but somewhat slower.
See the last patch for details.
I did quick sanity check. More testing is required.
Any comments?
Kirill A. Shutemov (4):
rmap: introduce rmap_walk_locked()
rmap: extend try_to_unmap() to be usable by split_huge_page()
mm: make remove_migration_ptes() beyond mm/migration.c
thp: rewrite freeze_page()/unfreeze_page() with generic rmap walkers
include/linux/huge_mm.h | 7 ++
include/linux/rmap.h | 6 ++
mm/huge_memory.c | 219 ++++++------------------------------------------
mm/migrate.c | 13 +--
mm/rmap.c | 49 ++++++++---
5 files changed, 83 insertions(+), 211 deletions(-)
--
2.7.0
Powered by blists - more mailing lists