From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753081AbbGNODW (ORCPT ); Tue, 14 Jul 2015 10:03:22 -0400 Received: from mga02.intel.com ([134.134.136.20]:26342 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752370AbbGNODV (ORCPT ); Tue, 14 Jul 2015 10:03:21 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,472,1432623600"; d="scan'208";a="728633936" From: "Kirill A. Shutemov" To: "Kirill A. Shutemov" Cc: Andrew Morton , Andrea Arcangeli , Hugh Dickins , Dave Hansen , Mel Gorman , Rik van Riel , Vlastimil Babka , Christoph Lameter , Naoya Horiguchi , Steve Capper , "Aneesh Kumar K.V" , Johannes Weiner , Michal Hocko , Jerome Marchand , Sasha Levin , linux-kernel@vger.kernel.org, linux-mm@kvack.org, "Kirill A. Shutemov" In-Reply-To: <1436550130-112636-17-git-send-email-kirill.shutemov@linux.intel.com> References: <1436550130-112636-1-git-send-email-kirill.shutemov@linux.intel.com> <1436550130-112636-17-git-send-email-kirill.shutemov@linux.intel.com> Subject: RE: [PATCH 16/36] mm, thp: remove compound_lock Content-Transfer-Encoding: 7bit Message-Id: <20150714140244.C85BE8B@black.fi.intel.com> Date: Tue, 14 Jul 2015 17:02:44 +0300 (EEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kirill A. Shutemov wrote: > We are going to use migration entries to stabilize page counts. It means > we don't need compound_lock() for that. > > Signed-off-by: Kirill A. Shutemov > Tested-by: Sasha Levin > Acked-by: Vlastimil Babka > --- > include/linux/mm.h | 35 ----------------------------------- > include/linux/page-flags.h | 12 +----------- > mm/debug.c | 3 --- > mm/memcontrol.c | 11 +++-------- > 4 files changed, 4 insertions(+), 57 deletions(-) checkpatch fixlet: 22a36e559f70 mm, thp: remove compound_lock fix diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h index 74b7cece1dfa..f10f9c0030dd 100644 --- a/include/linux/page-flags.h +++ b/include/linux/page-flags.h @@ -689,7 +689,7 @@ static inline void ClearPageSlabPfmemalloc(struct page *page) 1 << PG_private | 1 << PG_private_2 | \ 1 << PG_writeback | 1 << PG_reserved | \ 1 << PG_slab | 1 << PG_swapcache | 1 << PG_active | \ - 1 << PG_unevictable | __PG_MLOCKED | __PG_HWPOISON ) + 1 << PG_unevictable | __PG_MLOCKED | __PG_HWPOISON) /* * Flags checked when a page is prepped for return by the page allocator.