From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754812Ab3FKPdA (ORCPT ); Tue, 11 Jun 2013 11:33:00 -0400 Received: from mga14.intel.com ([143.182.124.37]:33408 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752063Ab3FKPc6 (ORCPT ); Tue, 11 Jun 2013 11:32:58 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.87,845,1363158000"; d="scan'208";a="253530845" From: "Kirill A. Shutemov" To: Andrea Arcangeli , Andrew Morton Cc: Al Viro , Hugh Dickins , Wu Fengguang , Jan Kara , Mel Gorman , linux-mm@kvack.org, Andi Kleen , Matthew Wilcox , "Kirill A. Shutemov" , Hillf Danton , Dave Hansen , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, "Kirill A. Shutemov" Subject: [PATCH 0/8] Transparent huge page cache: phase 0, prep work Date: Tue, 11 Jun 2013 18:35:11 +0300 Message-Id: <1370964919-16187-1-git-send-email-kirill.shutemov@linux.intel.com> X-Mailer: git-send-email 1.7.10.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Kirill A. Shutemov" 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