From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752599AbdJTIoB (ORCPT ); Fri, 20 Oct 2017 04:44:01 -0400 Received: from mga04.intel.com ([192.55.52.120]:4427 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752159AbdJTIn7 (ORCPT ); Fri, 20 Oct 2017 04:43:59 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,405,1503385200"; d="scan'208";a="164912307" From: changbin.du@intel.com To: akpm@linux-foundation.org, corbet@lwn.net, hughd@google.com Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, khandual@linux.vnet.ibm.com, kirill@shutemov.name, Changbin Du Subject: [PATCH v2 0/2] mm, thp: introduce dedicated transparent huge page allocation interfaces Date: Fri, 20 Oct 2017 16:36:26 +0800 Message-Id: <1508488588-23539-1-git-send-email-changbin.du@intel.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Changbin Du The first one introduce new interfaces, the second one kills naming confusion. The aim is to simplify transparent huge page allocation and remove duplicated code. V2: - Coding improvment. - Fix build error if thp is disabled. Changbin Du (2): mm, thp: introduce dedicated transparent huge page allocation interfaces mm: rename page dtor functions to {compound,huge,transhuge}_page__dtor Documentation/vm/hugetlbfs_reserv.txt | 4 +-- include/linux/gfp.h | 4 --- include/linux/huge_mm.h | 20 ++++++++++++-- include/linux/hugetlb.h | 2 +- include/linux/migrate.h | 14 ++++------ include/linux/mm.h | 8 +++--- mm/huge_memory.c | 52 +++++++++++++++++++++++++++++------ mm/hugetlb.c | 14 +++++----- mm/khugepaged.c | 11 ++------ mm/mempolicy.c | 14 ++-------- mm/migrate.c | 14 +++------- mm/page_alloc.c | 10 +++---- mm/shmem.c | 6 ++-- mm/swap.c | 2 +- mm/userfaultfd.c | 2 +- 15 files changed, 97 insertions(+), 80 deletions(-) -- 2.7.4