[PATCH 0/8] Transparent huge page cache: phase 0, prep work

From: Kirill A. Shutemov
Date: Tue Jun 11 2013 - 11:33:05 EST


From: "Kirill A. Shutemov" <kirill.shutemov@xxxxxxxxxxxxxxx>

My patchset which introduces transparent huge page cache is pretty big and
hardly reviewable. Dave Hansen suggested to split it in few parts.

This is the first part: preparation work. I think it's useful without rest
patches.

There's one fix for bug in lru_add_page_tail(). I doubt it's possible to
trigger it on current code, but nice to have it upstream anyway.
Rest is cleanups.

Patch 8 depends on patch 7. Other patches are independent and can be
applied separately.

Please, consider applying.

Kirill A. Shutemov (8):
mm: drop actor argument of do_generic_file_read()
thp, mm: avoid PageUnevictable on active/inactive lru lists
thp: account anon transparent huge pages into NR_ANON_PAGES
mm: cleanup add_to_page_cache_locked()
thp, mm: locking tail page is a bug
thp: move maybe_pmd_mkwrite() out of mk_huge_pmd()
thp: do_huge_pmd_anonymous_page() cleanup
thp: consolidate code between handle_mm_fault() and
do_huge_pmd_anonymous_page()

drivers/base/node.c | 6 ---
fs/proc/meminfo.c | 6 ---
include/linux/huge_mm.h | 3 --
include/linux/mm.h | 3 +-
mm/filemap.c | 60 ++++++++++++-----------
mm/huge_memory.c | 125 ++++++++++++++++++++---------------------------
mm/memory.c | 9 ++--
mm/rmap.c | 18 +++----
mm/swap.c | 20 +-------
9 files changed, 104 insertions(+), 146 deletions(-)

--
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/