From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932084AbbCaIyL (ORCPT ); Tue, 31 Mar 2015 04:54:11 -0400 Received: from TYO201.gate.nec.co.jp ([210.143.35.51]:49699 "EHLO tyo201.gate.nec.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753673AbbCaIxQ convert rfc822-to-8bit (ORCPT ); Tue, 31 Mar 2015 04:53:16 -0400 From: Naoya Horiguchi To: Andrew Morton CC: Hugh Dickins , Michal Hocko , Mel Gorman , Johannes Weiner , David Rientjes , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "Naoya Horiguchi" Subject: [PATCH 0/3] hugetlb fixlet v3 Thread-Topic: [PATCH 0/3] hugetlb fixlet v3 Thread-Index: AQHQa4/GZ201hcOFy0+7fG5qu6DioQ== Date: Tue, 31 Mar 2015 08:50:45 +0000 Message-ID: <1427791840-11247-1-git-send-email-n-horiguchi@ah.jp.nec.com> Accept-Language: ja-JP, en-US Content-Language: ja-JP X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.128.101.30] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is the update of "active page flag for hugetlb" patch [*1]. The main change is patch 2/3, which fixes the race condition where concurrent call of isolate_huge_page() causes kernel panic. Patch 1/3 just mentions and "fixes" a potential problem, no behavioral change. Patch 3/3 is a cleanup, reduces lines of code. [*1] http://thread.gmane.org/gmane.linux.kernel/1889277/focus=1889380 --- Summary: Naoya Horiguchi (3): mm: don't call __page_cache_release for hugetlb mm: hugetlb: introduce PageHugeActive flag mm: hugetlb: cleanup using PageHugeActive flag include/linux/hugetlb.h | 8 +++-- mm/hugetlb.c | 83 +++++++++++++++++++++++++------------------------ mm/memory-failure.c | 14 +++++++-- mm/memory_hotplug.c | 2 +- mm/swap.c | 10 +++++- 5 files changed, 71 insertions(+), 46 deletions(-)